From 7d8d0314781c8f5791d5a17635292b8e765fca80 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 27 Sep 2006 11:04:57 +0000 Subject: - On FreeBSD fix problem where stderr wasn't processed when filter didn't read stdin. --- src/proxsmtpd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c index b3fd969..2a75592 100644 --- a/src/proxsmtpd.c +++ b/src/proxsmtpd.c @@ -648,7 +648,7 @@ static int process_pipe_command(spctx_t* sp) { if(errno == EPIPE) { - sp_messagex(sp, LOG_WARNING, "filter command closed input early"); + sp_messagex(sp, LOG_INFO, "filter command closed input early"); /* Eat up the rest of the data */ while(sp_read_data(sp, &ibuf) > 0) @@ -656,7 +656,6 @@ static int process_pipe_command(spctx_t* sp) close(infd); infd = -1; - break; } else if(errno != EAGAIN && errno != EINTR) { -- cgit v1.2.3