Lines 70-76
Link Here
|
70 |
switch (file_data->state) { |
70 |
switch (file_data->state) { |
71 |
case DL_NOT_CONNECTED: |
71 |
case DL_NOT_CONNECTED: |
72 |
/* First check to see if connected to the host correctly */ |
72 |
/* First check to see if connected to the host correctly */ |
73 |
if (strstr (file_data->line, "connected!") != NULL) { |
73 |
if (strstr (file_data->line, "connected.") != NULL) { |
74 |
file_data_set_state (file_data, DL_CONNECTED, TRUE); |
74 |
file_data_set_state (file_data, DL_CONNECTED, TRUE); |
75 |
break; |
75 |
break; |
76 |
} |
76 |
} |
Lines 78-84
Link Here
|
78 |
/* We are not connected to the host so we must find the problem */ |
78 |
/* We are not connected to the host so we must find the problem */ |
79 |
if (strncmp (file_data->line, "--", 2) == 0 || |
79 |
if (strncmp (file_data->line, "--", 2) == 0 || |
80 |
strncmp (file_data->line, " ", 2) == 0 || |
80 |
strncmp (file_data->line, " ", 2) == 0 || |
81 |
strncmp (file_data->line, "Connecting to ", 14) == 0) |
81 |
strncmp (file_data->line, "Connecting to ", 14) == 0 || |
|
|
82 |
strncmp (file_data->line, "Resolving ", 10 ) == 0 ) |
82 |
break; |
83 |
break; |
83 |
else if (strncmp (file_data->line, "socket: ", 8) == 0) |
84 |
else if (strncmp (file_data->line, "socket: ", 8) == 0) |
84 |
show_error (file_data, |
85 |
show_error (file_data, |