diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-04-09 00:04:05 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-04-09 00:04:05 +0000 |
commit | 4be6b90403ad4e3f1dd4da297291eb1bf301bebc (patch) | |
tree | c37265b02a99e0214ad0b7762d231420668508b4 /driver.c | |
parent | bbdaf249178f0c5aac2de15df38023bb87e9a0ce (diff) | |
download | fetchmail-4be6b90403ad4e3f1dd4da297291eb1bf301bebc.tar.gz fetchmail-4be6b90403ad4e3f1dd4da297291eb1bf301bebc.tar.bz2 fetchmail-4be6b90403ad4e3f1dd4da297291eb1bf301bebc.zip |
Various cleanup patches.
svn path=/trunk/; revision=3612
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,9 @@ #endif #include <sys/time.h> #include <signal.h> +#ifdef HAVE_SYS_WAIT_H +#include <sys/wait.h> +#endif #ifdef HAVE_NET_SOCKET_H #include <net/socket.h> @@ -753,6 +756,7 @@ const int maxfetch; /* maximum number of messages to fetch */ signal(SIGPIPE, SIG_IGN); report(stdout, GT_("SIGPIPE thrown from an MDA or a stream socket error\n")); + wait(0); err = PS_SOCKET; goto cleanUp; } |