]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
make -s/--silent properly toggle as it is documented
authorDaniel Stenberg <daniel@haxx.se>
Wed, 6 Jun 2007 20:08:40 +0000 (20:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 6 Jun 2007 20:08:40 +0000 (20:08 +0000)
src/main.c

index 638c60a50987e7c6819113fe8face0186de5fc92..9124747f2306fa2b069c000858a87b48e2887034 100644 (file)
@@ -2388,7 +2388,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
       break;
     case 's':
       /* don't show progress meter, don't show errors : */
-      config->conf |= (CONF_MUTE|CONF_NOPROGRESS);
+      config->conf ^= (CONF_MUTE|CONF_NOPROGRESS);
       config->showerror ^= TRUE; /* toggle off */
       break;
     case 'S':