]> diplodocus.org Git - nmh/blobdiff - uip/mhpath.c
sbr/mts.c: Make MMDF's delimeters fixed at compile time.
[nmh] / uip / mhpath.c
index 9ab94392771d40667a8ecf6b3ca11e21c4048c65..16425ac182a1490f9081e5615cda5b662ea63fbb 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
@@ -9,6 +7,7 @@
 
 #include <h/mh.h>
 #include <h/utils.h>
+#include "../sbr/m_maildir.h"
 
 #define MHPATH_SWITCHES \
     X("version", 0, VERSIONSW) \
@@ -77,7 +76,7 @@ main(int argc, char **argv)
 
     /* If no messages are given, print folder pathname */
     if (!msgs.size) {
-       printf ("%s\n", maildir);
+       puts(maildir);
        done (0);
     }