From 173a3598221092ae6a535bbc07a7fa9a738c2e57 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 21 Jul 2004 23:24:13 +0000 Subject: - Note ClamAV errors in logline --- src/clamsmtpd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } -- cgit v1.2.3