]> diplodocus.org Git - nmh/blobdiff - uip/mhlist.c
Use va_copy() to get a copy of va_list, instead of using original.
[nmh] / uip / mhlist.c
index e6fc1dd71917052a69414e49474e59924e57e1f8..dd9b6d005f62d48d8d65ffb25f8194c63091e25c 100644 (file)
@@ -71,7 +71,7 @@ main (int argc, char **argv)
 {
     bool sizesw = true;
     bool headsw = true;
-    int chgflag = 1;
+    bool chgflag = true;
     bool verbosw = false;
     bool dispo = false;
     int msgnum, *icachesw;
@@ -191,10 +191,10 @@ do_cache:
                continue;
 
            case CHGSW:
-               chgflag++;
+               chgflag = true;
                continue;
            case NCHGSW:
-               chgflag = 0;
+               chgflag = false;
                continue;
 
            case VERBSW: 
@@ -294,7 +294,7 @@ do_cache:
     if (!*cts)
        done (1);
 
-    userrs = 1;
+    userrs = true;
     SIGNAL (SIGQUIT, quitser);
     SIGNAL (SIGPIPE, pipeser);