aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-11-08 16:53:54 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-11-08 16:53:54 +0000
commit45bcf00ee95d474f989d5594da378116d63702be (patch)
treebaeb26c4b1f80cd7babb0cb28950a682b71b5fa5 /sink.c
parent63e45826907ea86d967c5903fc31fbde5977db73 (diff)
downloadfetchmail-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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index a72be53a..e0b904e6 100644
--- a/sink.c
+++ b/sink.c
@@ -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,