aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-12 17:47:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-12 17:47:21 +0000
commit7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719 (patch)
treee2eb28e4c361c68c9d3acab4931d0f24e6edd43b /driver.c
parente02bf8289a870ac12b275ba2dc8d3ca46e5e2233 (diff)
downloadfetchmail-7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719.tar.gz
fetchmail-7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719.tar.bz2
fetchmail-7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719.zip
SIGCLD -> SIGCHLD.
svn path=/trunk/; revision=628
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver.c b/driver.c
index 0334e132..ea9ea8a0 100644
--- a/driver.c
+++ b/driver.c
@@ -44,8 +44,8 @@
#include "smtp.h"
/* BSD portability hack...I know, this is an ugly place to put it */
-#if !defined(SIGCLD) && defined(SIGCHLD)
-#define SIGCLD SIGCHLD
+#if !defined(SIGCHLD) && defined(SIGCLD)
+#define SIGCHLD SIGCLD
#endif
#define SMTP_PORT 25 /* standard SMTP service port */
@@ -539,7 +539,7 @@ struct query *ctl; /* query control record */
return(PS_IOERR);
}
- sigchld = signal(SIGCLD, SIG_DFL);
+ sigchld = signal(SIGCHLD, SIG_DFL);
}
else
{
@@ -635,7 +635,7 @@ struct query *ctl; /* query control record */
if (ctl->mda[0])
{
closemailpipe(mboxfd);
- signal(SIGCLD, sigchld);
+ signal(SIGCHLD, sigchld);
}
return(PS_IOERR);
}
@@ -723,7 +723,7 @@ struct query *ctl; /* query control record */
if (ctl->mda[0])
{
closemailpipe(mboxfd);
- signal(SIGCLD, sigchld);
+ signal(SIGCHLD, sigchld);
}
return(PS_IOERR);
}
@@ -740,7 +740,7 @@ struct query *ctl; /* query control record */
/* close the delivery pipe, we'll reopen before next message */
rc = closemailpipe(mboxfd);
- signal(SIGCLD, sigchld);
+ signal(SIGCHLD, sigchld);
if (rc)
return(PS_IOERR);
}