]> diplodocus.org Git - nmh/blobdiff - uip/mhstore.c
repl.c, replsbr.c: Move shared data into header file.
[nmh] / uip / mhstore.c
index 6f2fdd39489a731616565cfe2d399c5eb301524b..66ad91e99e99f51bb652dc6d0b59b0cf4b8aa41c 100644 (file)
@@ -63,7 +63,8 @@ static void pipeser (int);
 int
 main (int argc, char **argv)
 {
-    int msgnum, *icachesw, autosw = 0;
+    int msgnum, *icachesw;
+    bool autosw = false;
     /* verbosw defaults to 1 for backward compatibility. */
     bool verbosw = true;
     const char *clobbersw = "always";
@@ -107,10 +108,10 @@ main (int argc, char **argv)
                done (0);
 
            case AUTOSW:
-               autosw++;
+               autosw = true;
                continue;
            case NAUTOSW:
-               autosw = 0;
+               autosw = false;
                continue;
 
            case RCACHESW: