]> diplodocus.org Git - nmh/blobdiff - uip/fmttest.c
path.c: Re-format path() to make it more clear what's happening.
[nmh] / uip / fmttest.c
index e5323e64f20fc5828b163b0e8683243f6cee575f..627123b483ab1ae4e3489a2f551a928bcecfef81 100644 (file)
@@ -11,7 +11,8 @@
 #include <h/utils.h>
 #include <h/scansbr.h>
 #include <h/addrsbr.h>
-#include "../sbr/m_maildir.h"
+#include "sbr/m_maildir.h"
+#include "sbr/terminal.h"
 
 #define FMTTEST_SWITCHES \
     X("form formatfile", 0, FORMSW) \
@@ -270,8 +271,7 @@ main (int argc, char **argv)
        if (mode == MESSAGE && !files && (*cp == '+' || *cp == '@')) {
            if (folder)
                adios (NULL, "only one folder at a time!");
-           else
-               folder = pluspath (cp);
+            folder = pluspath (cp);
        } else
            app_msgarg(&msgs, cp);
     }