1 parent 5dd032a commit 8911119Copy full SHA for 8911119
1 file changed
src/link.c
@@ -280,16 +280,13 @@ static void LinkTable_uninitialised_fill(LinkTable *linktbl)
280
*/
281
int n_running = curl_multi_perform_once();
282
283
- /*
284
- * If no handles are running but u > 0, we have an error
285
- * and we must break to avoid infinite loop.
286
- */
287
if (n_running == 0) {
288
- lprintf(error, "Some links failed to initialize.\n");
289
for (int i = 0; i < linktbl->num; i++) {
290
Link *this_link = linktbl->links[i];
291
if (this_link->type == LINK_UNINITIALISED_FILE
292
|| this_link->type == LINK_UNINITIALISED_DIR) {
+ lprintf(error, "Failed to initialize: %s\n",
+ this_link->f_url);
293
this_link->type = LINK_INVALID;
294
}
295
0 commit comments