]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
datetime.c: Replace some int with bool.
[nmh] / uip / scan.c
index 2b33708774feaafc1ce36cd9f471b92a4a639c07..b65fef7490e8dc68a825d5e37d08afd21754f53d 100644 (file)
@@ -12,6 +12,7 @@
 #include <h/mts.h>
 #include <h/utils.h>
 #include "../sbr/m_maildir.h"
+#include "../sbr/terminal.h"
 
 #define SCAN_SWITCHES \
     X("clear", 0, CLRSW) \
@@ -126,10 +127,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"))