]> diplodocus.org Git - nmh/blobdiff - uip/mhpath.c
Remove unneeded incomplete, member-less `struct tag;'.
[nmh] / uip / mhpath.c
index b9506d7383cc96efe8818bf9d6172be2acdecb1d..2f4af3b76cd3599182408ad9b71b213ff72911d2 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
@@ -32,7 +30,7 @@ main(int argc, char **argv)
     struct msgs_array msgs = { 0, 0, NULL };
     struct msgs *mp;
 
-    if (nmh_init(argv[0], 1)) { return 1; }
+    if (nmh_init(argv[0], 2)) { return 1; }
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;
@@ -77,7 +75,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);
     }