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