mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
curl: fix -q [regression]
This broke in 7.49.0 with commit e200034425
Fixes #842
This commit is contained in:
parent
5409e1d793
commit
6dbc23cfd8
@ -1842,7 +1842,7 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
|
|||||||
|
|
||||||
/* Parse .curlrc if necessary */
|
/* Parse .curlrc if necessary */
|
||||||
if((argc == 1) ||
|
if((argc == 1) ||
|
||||||
(!curlx_strequal(argv[1], "-q") ||
|
(!curlx_strequal(argv[1], "-q") &&
|
||||||
!curlx_strequal(argv[1], "--disable"))) {
|
!curlx_strequal(argv[1], "--disable"))) {
|
||||||
parseconfig(NULL, config); /* ignore possible failure */
|
parseconfig(NULL, config); /* ignore possible failure */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user