Commit 6dbc23cf authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl: fix -q [regression]

This broke in 7.49.0 with commit e2000344

Fixes #842
parent 5409e1d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */