summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-09-27 11:04:57 +0000
committerStef Walter <stef@memberwebs.com>2006-09-27 11:04:57 +0000
commit7d8d0314781c8f5791d5a17635292b8e765fca80 (patch)
tree1ea943f65ceaeac92ca97927324940c23eb9ed4d
parentf39ec5d5c555bac50f9a30e01a3b93b56d8834d3 (diff)
- On FreeBSD fix problem where stderr wasn't processed when filter
didn't read stdin.
-rw-r--r--ChangeLog2
-rw-r--r--src/proxsmtpd.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 275869a..ab388f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1.5 [2006-09-05]
- Added support for setting the REMOTE variable when an XFORWARD
command is seen.
+ - On FreeBSD fix problem where stderr wasn't processed when filter
+ didn't read stdin.
1.4 [2006-08-10]
- Fix crasher after connection closes unexpectedly.
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)
{