]> diplodocus.org Git - nmh/blobdiff - uip/rmm.c
Improve this documentation a bit.
[nmh] / uip / rmm.c
index 8644a02fb363c8045c12f662a91d648becb89684..104d5d2e34a57e91a563b007fd6968328dca9c97 100644 (file)
--- a/uip/rmm.c
+++ b/uip/rmm.c
@@ -1,6 +1,4 @@
-
-/*
- * rmm.c -- remove a message(s)
+/* rmm.c -- remove a message(s)
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -8,7 +6,9 @@
  */
 
 #include <h/mh.h>
+#include "h/done.h"
 #include <h/utils.h>
+#include "sbr/m_maildir.h"
 
 #define RMM_SWITCHES \
     X("unlink", 0, UNLINKSW) \
@@ -80,10 +80,9 @@ main (int argc, char **argv)
        if (*cp == '+' || *cp == '@') {
            if (folder)
                adios (NULL, "only one folder at a time!");
-           else
-               folder = pluspath (cp);
+            folder = pluspath (cp);
        } else
-               app_msgarg(&msgs, cp);
+            app_msgarg(&msgs, cp);
     }
 
     if (!context_find ("path"))