summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-07-21 23:24:13 +0000
committerStef Walter <stef@memberwebs.com>2004-07-21 23:24:13 +0000
commit173a3598221092ae6a535bbc07a7fa9a738c2e57 (patch)
treec7ca8a14266cd5000fc1f50fbf7c065b3f0dcf38 /src
parent8e939b2c5f75b77278636cc5212d772e00328b44 (diff)
- Note ClamAV errors in logline
Diffstat (limited to 'src')
-rw-r--r--src/clamsmtpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c
index ef4b4b3..db88e23 100644
--- a/src/clamsmtpd.c
+++ b/src/clamsmtpd.c
@@ -1063,6 +1063,7 @@ static int clam_scan_file(clamsmtp_context_t* ctx, const char* tempname, char* l
if(is_last_word(ctx->line, CLAM_ERROR, KL(CLAM_ERROR)))
{
messagex(ctx, LOG_ERR, "clamav error: %s", ctx->line);
+ add_to_logline(logline, "status=ERROR");
return -1;
}