diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-11-08 16:53:54 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-11-08 16:53:54 +0000 |
commit | 45bcf00ee95d474f989d5594da378116d63702be (patch) | |
tree | baeb26c4b1f80cd7babb0cb28950a682b71b5fa5 /sink.c | |
parent | 63e45826907ea86d967c5903fc31fbde5977db73 (diff) | |
download | fetchmail-45bcf00ee95d474f989d5594da378116d63702be.tar.gz fetchmail-45bcf00ee95d474f989d5594da378116d63702be.tar.bz2 fetchmail-45bcf00ee95d474f989d5594da378116d63702be.zip |
Easy bug fixes for this round.
svn path=/trunk/; revision=3543
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -793,6 +793,8 @@ static int open_smtp_sink(struct query *ctl, struct msgblk *msg, SMTP_rset(ctl->smtp_socket); /* stay on the safe side */ return(handle_smtp_report(ctl, msg)); } + + return(PS_SUCCESS); } static int open_mda_sink(struct query *ctl, struct msgblk *msg, @@ -951,13 +953,15 @@ static int open_mda_sink(struct query *ctl, struct msgblk *msg, * error status instead of 0 for successful completion. */ #ifndef HAVE_SIGACTION - sigchld = signal(SIGCHLD, SIG_DFL); + signal(SIGCHLD, SIG_DFL); #else memset (&sa_new, 0, sizeof sa_new); sigemptyset (&sa_new.sa_mask); sa_new.sa_handler = SIG_DFL; sigaction (SIGCHLD, &sa_new, NULL); #endif /* HAVE_SIGACTION */ + + return(PS_SUCCESS); } int open_sink(struct query *ctl, struct msgblk *msg, |