]> diplodocus.org Git - nmh/blobdiff - uip/rmm.c
prototypes.h: Delete default_done() prototype.
[nmh] / uip / rmm.c
index 0d71be96b0c1a4337e86daff5b31e87fad17039c..fc32a520a2331629c4a933fc96206b201c8446ad 100644 (file)
--- a/uip/rmm.c
+++ b/uip/rmm.c
@@ -30,7 +30,8 @@ DEFINE_SWITCH_ARRAY(RMM, switches);
 int
 main (int argc, char **argv)
 {
-    int msgnum, unlink_msgs = 0;
+    int msgnum;
+    bool unlink_msgs = false;
     char *cp, *maildir, *folder = NULL;
     char buf[BUFSIZ], **argp;
     char **arguments;
@@ -62,10 +63,10 @@ main (int argc, char **argv)
                done (0);
 
            case UNLINKSW:
-               unlink_msgs++;
+               unlink_msgs = true;
                continue;
            case NUNLINKSW:
-               unlink_msgs = 0;
+               unlink_msgs = false;
                continue;
 
             case RPROCSW: