]> diplodocus.org Git - nmh/blobdiff - uip/comp.c
pidstatus(): Rewrite to print stopped and continued statuses too.
[nmh] / uip / comp.c
index ae87209fd343a80db91a9028d7f8b4e846091da6..969b9792d011eeb33fff1b8d242c658ff856ceac 100644 (file)
@@ -8,7 +8,7 @@
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/fmt_scan.h>
-#include "../sbr/m_maildir.h"
+#include "sbr/m_maildir.h"
 #include <fcntl.h>
 
 #define COMP_SWITCHES \
@@ -211,13 +211,11 @@ 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 {
            if (msg)
                adios (NULL, "only one message at a time!");
-           else
-               msg = cp;
+            msg = cp;
        }
     }