Skip to content
Snippets Groups Projects
Commit 82bc76b2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dan Shearer's fix from bug report #618892, which makes 'curl -O' output

an error message about a missing URL.
parent 18b9b049
No related branches found
No related tags found
No related merge requests found
......@@ -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");
return CURLE_FAILED_INIT;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment