diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | common/smtppass.c | 2 | ||||
-rw-r--r-- | src/clamsmtpd.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ 0.4 - Option for quarantining files with viruses - Fixed problem with returning wrong SMTP error code + - Timeout gives a proper error message 0.3 - Small log format changes diff --git a/common/smtppass.c b/common/smtppass.c index b66366c..5cc9c7f 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -626,7 +626,7 @@ static int smtp_passthru(clamsmtp_context_t* ctx) switch(select(FD_SETSIZE, &mask, NULL, NULL, &g_timeout)) { case 0: - message(ctx, LOG_ERR, "network operation timed out"); + messagex(ctx, LOG_ERR, "network operation timed out"); RETURN(-1); case -1: message(ctx, LOG_ERR, "couldn't select on sockets"); diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c index b66366c..5cc9c7f 100644 --- a/src/clamsmtpd.c +++ b/src/clamsmtpd.c @@ -626,7 +626,7 @@ static int smtp_passthru(clamsmtp_context_t* ctx) switch(select(FD_SETSIZE, &mask, NULL, NULL, &g_timeout)) { case 0: - message(ctx, LOG_ERR, "network operation timed out"); + messagex(ctx, LOG_ERR, "network operation timed out"); RETURN(-1); case -1: message(ctx, LOG_ERR, "couldn't select on sockets"); |