aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-05-31 14:13:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-05-31 14:25:40 +0200
commit6dbc23cfd86bbf8c1616759068a5909ced3dcc99 (patch)
tree5fff5aaf1744f0f4c4ad4bf42a9b45b60440890e /src/tool_operate.c
parent5409e1d793de755c7433336b80b0c8370a359d45 (diff)
curl: fix -q [regression]
This broke in 7.49.0 with commit e200034425a7625 Fixes #842
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 5f49efb71..2b53c9a85 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1842,7 +1842,7 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
/* Parse .curlrc if necessary */
if((argc == 1) ||
- (!curlx_strequal(argv[1], "-q") ||
+ (!curlx_strequal(argv[1], "-q") &&
!curlx_strequal(argv[1], "--disable"))) {
parseconfig(NULL, config); /* ignore possible failure */