diff options
author | Stef Walter <stef@memberwebs.com> | 2004-09-04 17:12:48 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-09-04 17:12:48 +0000 |
commit | 5814dc0933881ccff8cc7c6744ae1054efc6c90a (patch) | |
tree | 536b7142494d746a097d78172cd6ca012b0df51d | |
parent | a185a3967d11219db436ca677653e4bc6c8a9736 (diff) |
Added to logline on unexpected response
-rw-r--r-- | common/smtppass.c | 1 | ||||
-rw-r--r-- | src/clamsmtpd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/smtppass.c b/common/smtppass.c index 7d1b18e..aef9e23 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -1227,6 +1227,7 @@ static int clam_scan_file(clamsmtp_context_t* ctx, const char* tempname, char* l return -1; } + add_to_logline(logline, "status=", "CLAMAV-ERROR"); messagex(ctx, LOG_ERR, "unexepected response from clamd: %s", ctx->line); return -1; } diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c index 7d1b18e..aef9e23 100644 --- a/src/clamsmtpd.c +++ b/src/clamsmtpd.c @@ -1227,6 +1227,7 @@ static int clam_scan_file(clamsmtp_context_t* ctx, const char* tempname, char* l return -1; } + add_to_logline(logline, "status=", "CLAMAV-ERROR"); messagex(ctx, LOG_ERR, "unexepected response from clamd: %s", ctx->line); return -1; } |