]> git.pld-linux.org Git - packages/wget.git/commitdiff
- avoid abort() on some timeout
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 18 Nov 2005 05:55:45 +0000 (05:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wget-noabort.patch -> 1.1

wget-noabort.patch [new file with mode: 0644]

diff --git a/wget-noabort.patch b/wget-noabort.patch
new file mode 100644 (file)
index 0000000..04e7656
--- /dev/null
@@ -0,0 +1,13 @@
+err was uninitialized here (FTPOK in most cases), causing later
+confusion in ftp_loop_internal() and abort()
+--- wget-1.10.2/src/ftp.c.orig 2005-08-09 00:23:09.000000000 +0200
++++ wget-1.10.2/src/ftp.c      2005-11-17 00:29:22.510795976 +0100
+@@ -918,7 +918,7 @@
+       if (dtsock < 0)
+       {
+         logprintf (LOG_NOTQUIET, "accept: %s\n", strerror (errno));
+-        return err;
++        return CONERROR;
+       }
+     }
This page took 0.036351 seconds and 4 git commands to generate.