summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-05-28 23:43:12 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-05-28 23:43:12 +0000
commitd4f4cacb9639dac8b3ae3876153a2bbac6544801 (patch)
tree23bae0d5251e59c083da2d7a9bc2c5fc9408d7cc /net-misc/gtm
parentnow works with new wget (diff)
downloadgentoo-2-d4f4cacb9639dac8b3ae3876153a2bbac6544801.tar.gz
gentoo-2-d4f4cacb9639dac8b3ae3876153a2bbac6544801.tar.bz2
gentoo-2-d4f4cacb9639dac8b3ae3876153a2bbac6544801.zip
oops, missed this patch
Diffstat (limited to 'net-misc/gtm')
-rw-r--r--net-misc/gtm/files/wget-log.c.patch21
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,