]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 578: keep hfaxd from dying on ECONNABORTED
authorLee Howard <faxguy@howardsilvan.com>
Tue, 23 Nov 2004 17:58:23 +0000 (17:58 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Tue, 23 Nov 2004 17:58:23 +0000 (17:58 +0000)
CHANGES
hfaxd/SuperServer.c++

diff --git a/CHANGES b/CHANGES
index a244ec978a7750d05dddec602bb573d4efc859ab..e5b46e61bc107852312767f747a209bd8f9a1124 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@
 
 Changelog for HylaFAX 4.2.1
 
+* fix hfaxd from dying on ECONNABORTED (23 Nov 2004)
 * add -fpic to DSO build for non-x86 Linux (23 Nov 2004)
 * add CALL records to xferfaxlog and LogCalls config (16 Nov 2004)
 * fix/implement desireddf in faxsend and faxq (29 Oct 2004)
index 1faad563e4b9a6c8a015a6cbbf7ea7b7915c1bb8..de8ffc0ad432f815aed99b0d3cd36e999a145e2a 100644 (file)
@@ -60,7 +60,7 @@ SuperServer::inputReady(int fd)
 {
     int c = Socket::accept(fd, NULL, NULL);
     if (c < 0) {
-       if (errno == EINTR)
+       if (errno == EINTR || errno == ECONNABORTED)
            return (0);
        logError("HylaFAX %s: accept: %m", (const char*) kind);
        _exit(-1);