mirror of
https://github.com/curl/curl.git
synced 2026-06-02 02:44:35 +03:00
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:
parent
18b9b04907
commit
82bc76b243
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue