diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-08-11 18:35:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-08-11 18:35:23 +0000 |
commit | 1afb6f7470f96aa102896f7cee98d44733c8087f (patch) | |
tree | 1c3b81aa6d900a75e4a84944aa1dff3806d6cef8 | |
parent | 175f28517a60661d089a4380372e626f1bff0e80 (diff) | |
download | fetchmail-1afb6f7470f96aa102896f7cee98d44733c8087f.tar.gz fetchmail-1afb6f7470f96aa102896f7cee98d44733c8087f.tar.bz2 fetchmail-1afb6f7470f96aa102896f7cee98d44733c8087f.zip |
Dave Bodenstab's fix for flaky phone lines.
svn path=/trunk/; revision=1260
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | driver.c | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -17,6 +17,7 @@ fetchmail-4.1.0 () * Clean up the Interactive UNIX System V/386 Release 3.2 port. * Enable parser to detect and complain about the most common syntax error. * More warnings about things that can go wrong with multidrop. +* Dave Bodenstab's fix for flaky phone lines. There are 262 people on the fetchmail-friends list. @@ -1133,7 +1133,14 @@ flag delimited; /* does the protocol use a message delimiter? */ while (delimited || len > 0) { if ((linelen = SockRead(sock, buf, sizeof(buf)-1)) == -1) + { + if (ctl->mda) + { + pclose(sinkfp); + signal(SIGCHLD, sigchld); + } return(PS_SOCKET); + } set_timeout(ctl->server.timeout); /* write the message size dots */ |