From 9a89fa6642ff151ccaab0ad991926a6e79ce7ab8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 15:58:07 +0000 Subject: New version --- AUTHORS | 2 ++ ChangeLog | 4 ++++ common/smtppass.c | 2 +- configure.in | 4 ++-- src/clamsmtpd.c | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index 0c95726..6c1bf4c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -4,3 +4,5 @@ Nate Nielsen PATCHES: Yamamoto Takao João Carlos Mendes Luís +Berk D. Demir +Jasper Slits diff --git a/ChangeLog b/ChangeLog index 3a2b3a1..d37d99a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +0.6 + - Proper adding of customized header [Berk D. Bemir] + - Fixes to documentation [Jasper Slits] + 0.5 - Announce ourselves as 'clamsmtp' in banner to prevent loop warnings - Fixed endless loop that occurred on failure to connect out [João Carlos Mendes Luís] diff --git a/common/smtppass.c b/common/smtppass.c index 853e931..b682e83 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -141,7 +141,7 @@ const char* g_outname = NULL; struct sockaddr_any g_clamaddr; /* Address for connecting to clamd */ const char* g_clamname = DEFAULT_CLAMAV; -const char* g_header = DEFAULT_HEADER; /* The header to add to email */ +char* g_header = DEFAULT_HEADER; /* The header to add to email */ const char* g_directory = _PATH_TMP; /* The directory for temp files */ unsigned int g_unique_id = 0x00100000; /* For connection ids */ int g_bounce = 0; /* Send back a reject line */ diff --git a/configure.in b/configure.in index 155e6b3..770ff3b 100644 --- a/configure.in +++ b/configure.in @@ -36,8 +36,8 @@ dnl Nate Nielsen dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT(clamsmtp, 0.5, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(clamsmtp, 0.5) +AC_INIT(clamsmtp, 0.6, nielsen@memberwebs.com) +AM_INIT_AUTOMAKE(clamsmtp, 0.6) LDFLAGS="$LDFLAGS -L/usr/local/lib" CFLAGS="$CFLAGS -I/usr/local/include" diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c index 853e931..b682e83 100644 --- a/src/clamsmtpd.c +++ b/src/clamsmtpd.c @@ -141,7 +141,7 @@ const char* g_outname = NULL; struct sockaddr_any g_clamaddr; /* Address for connecting to clamd */ const char* g_clamname = DEFAULT_CLAMAV; -const char* g_header = DEFAULT_HEADER; /* The header to add to email */ +char* g_header = DEFAULT_HEADER; /* The header to add to email */ const char* g_directory = _PATH_TMP; /* The directory for temp files */ unsigned int g_unique_id = 0x00100000; /* For connection ids */ int g_bounce = 0; /* Send back a reject line */ -- cgit v1.2.3