From 5814dc0933881ccff8cc7c6744ae1054efc6c90a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 4 Sep 2004 17:12:48 +0000 Subject: Added to logline on unexpected response --- common/smtppass.c | 1 + src/clamsmtpd.c | 1 + 2 files changed, 2 insertions(+) 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; } -- cgit v1.2.3