diff options
-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, |