summaryrefslogtreecommitdiff
path: root/src/proxsmtpd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-08-30 17:37:23 +0000
committerStef Walter <stef@memberwebs.com>2006-08-30 17:37:23 +0000
commite462644c0f3c485069bc45c862e32c2730ef47bd (patch)
tree23c03e6d7e27c86b74ed8afe86d232857134c81b /src/proxsmtpd.c
parent099d576466a124e19c3fda8541cd887b65b9d2cb (diff)
Bring in some changes from ClamSMTP
Diffstat (limited to 'src/proxsmtpd.c')
-rw-r--r--src/proxsmtpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c
index a7a5070..b3fd969 100644
--- a/src/proxsmtpd.c
+++ b/src/proxsmtpd.c
@@ -221,7 +221,7 @@ int cb_check_data(spctx_t* ctx)
sp_messagex(ctx, LOG_WARNING, "no filter command specified. passing message through");
if(sp_cache_data(ctx) == -1 ||
- sp_done_data(ctx) == -1)
+ sp_done_data(ctx, NULL) == -1)
return -1; /* Message already printed */
return 0;
@@ -520,7 +520,7 @@ static int process_file_command(spctx_t* sp)
/* A successful response */
if(WEXITSTATUS(status) == 0)
{
- if(sp_done_data(sp) == -1)
+ if(sp_done_data(sp, NULL) == -1)
RETURN(-1); /* message already printed */
sp_add_log(sp, "status=", "FILTERED");
@@ -764,7 +764,7 @@ static int process_pipe_command(spctx_t* sp)
/* A successful response */
if(WEXITSTATUS(status) == 0)
{
- if(sp_done_data(sp) == -1)
+ if(sp_done_data(sp, NULL) == -1)
RETURN(-1); /* message already printed */
sp_add_log(sp, "status=", "FILTERED");