From b9ba4d390e4dc85d56406d6402654e99f771c697 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 18 Nov 2005 05:55:45 +0000 Subject: [PATCH] - avoid abort() on some timeout Changed files: wget-noabort.patch -> 1.1 --- wget-noabort.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wget-noabort.patch diff --git a/wget-noabort.patch b/wget-noabort.patch new file mode 100644 index 0000000..04e7656 --- /dev/null +++ b/wget-noabort.patch @@ -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; + } + } + -- 2.44.0