diff options
author | Stef Walter <stef@memberwebs.com> | 2005-03-20 21:15:40 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-03-20 21:15:40 +0000 |
commit | c3a9f58fc493bb2d5ec4876e81d5cf95cc587529 (patch) | |
tree | 50124a34b3782c99ac66d6cfb3d5d4b85fe299ff /src | |
parent | 64b0625d3187ef665cd5441bf4635caa0bc338c7 (diff) |
Sync with clamsmtp changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/proxsmtpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c index 85da77b..fbd5d25 100644 --- a/src/proxsmtpd.c +++ b/src/proxsmtpd.c @@ -215,7 +215,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, NULL) == -1) + sp_done_data(ctx) == -1) return -1; /* Message already printed */ return 0; @@ -503,7 +503,7 @@ static int process_file_command(spctx_t* sp) /* A successful response */ if(WEXITSTATUS(status) == 0) { - if(sp_done_data(sp, NULL) == -1) + if(sp_done_data(sp) == -1) RETURN(-1); /* message already printed */ sp_add_log(sp, "status=", "FILTERED"); @@ -747,7 +747,7 @@ static int process_pipe_command(spctx_t* sp) /* A successful response */ if(WEXITSTATUS(status) == 0) { - if(sp_done_data(sp, NULL) == -1) + if(sp_done_data(sp) == -1) RETURN(-1); /* message already printed */ sp_add_log(sp, "status=", "FILTERED"); |