diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-05-28 23:43:12 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-05-28 23:43:12 +0000 |
commit | 9c51db83853395baab5ca0e76b794e91fe20e593 (patch) | |
tree | 2b2ee5612deb5bbd43563cd73cf6a20f733685a1 /net-misc/gtm | |
parent | now works with new wget (diff) | |
download | historical-9c51db83853395baab5ca0e76b794e91fe20e593.tar.gz historical-9c51db83853395baab5ca0e76b794e91fe20e593.tar.bz2 historical-9c51db83853395baab5ca0e76b794e91fe20e593.zip |
oops, missed this patch
Diffstat (limited to 'net-misc/gtm')
-rw-r--r-- | net-misc/gtm/files/wget-log.c.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/gtm/files/wget-log.c.patch b/net-misc/gtm/files/wget-log.c.patch new file mode 100644 index 000000000000..7bbb4dedb2bf --- /dev/null +++ b/net-misc/gtm/files/wget-log.c.patch @@ -0,0 +1,21 @@ +--- gtm-0.4.11/src/wget-log.c Thu Nov 15 21:44:08 2001 ++++ gtm-0.4.11_hack/src/wget-log.c Mon Mar 4 00:23:41 2002 +@@ -70,7 +70,7 @@ + switch (file_data->state) { + case DL_NOT_CONNECTED: + /* First check to see if connected to the host correctly */ +- if (strstr (file_data->line, "connected!") != NULL) { ++ if (strstr (file_data->line, "connected.") != NULL) { + file_data_set_state (file_data, DL_CONNECTED, TRUE); + break; + } +@@ -78,7 +78,8 @@ + /* We are not connected to the host so we must find the problem */ + if (strncmp (file_data->line, "--", 2) == 0 || + strncmp (file_data->line, " ", 2) == 0 || +- strncmp (file_data->line, "Connecting to ", 14) == 0) ++ strncmp (file_data->line, "Connecting to ", 14) == 0 || ++ strncmp (file_data->line, "Resolving ", 10 ) == 0 ) + break; + else if (strncmp (file_data->line, "socket: ", 8) == 0) + show_error (file_data, |