diff options
-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; } |