Dan Shearer's fix from bug report #618892, which makes 'curl -O' output
an error message about a missing URL.
This commit is contained in:
@@ -2442,7 +2442,7 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!config->url_list) {
|
if(!config->url_list || !config->url_list->url) {
|
||||||
helpf("no URL specified!\n");
|
helpf("no URL specified!\n");
|
||||||
return CURLE_FAILED_INIT;
|
return CURLE_FAILED_INIT;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user