From 45bcf00ee95d474f989d5594da378116d63702be Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 8 Nov 2001 16:53:54 +0000 Subject: Easy bug fixes for this round. svn path=/trunk/; revision=3543 --- sink.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sink.c') 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, -- cgit v1.2.3