]> diplodocus.org Git - nmh/blobdiff - uip/mhpath.c
inc/test-eom-align: Fix MMDF-mbox `A' size calculation.
[nmh] / uip / mhpath.c
index 10a8ba98af1d3f25ca31f7ee6115d84f36fe2e7e..1e6ab515129b1ca5f66045123a4f7ad3a6490c03 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * mhpath.c -- print full pathnames of nmh messages and folders
+/* mhpath.c -- print full pathnames of nmh messages and folders
  *
  * 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 MHPATH_SWITCHES \
     X("version", 0, VERSIONSW) \
@@ -62,8 +62,7 @@ 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);
     }