]> diplodocus.org Git - nmh/blobdiff - uip/rcvpack.c
Rewrite norm_charmap(), moving code into data.
[nmh] / uip / rcvpack.c
index 2553e823f7f45098ce42692bfa681b83bd4729ee..6235e5e96625b9247ac986ba7628b2bee5536af5 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * rcvpack.c -- append message to a file
+/* rcvpack.c -- append message to a file
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -12,6 +10,7 @@
 #include <h/rcvmail.h>
 #include <h/tws.h>
 #include <h/mts.h>
+#include <h/utils.h>
 
 #define RCVPACK_SWITCHES \
     X("mbox", 0, MBOXSW) \
@@ -40,7 +39,7 @@ main (int argc, char **argv)
     char *cp, *file = NULL, buf[BUFSIZ];
     char **argp, **arguments;
 
-    if (nmh_init(argv[0], 1)) { return 1; }
+    if (nmh_init(argv[0], 2)) { return 1; }
 
     mts_init ();
     arguments = getarguments (invo_name, argc, argv, 1);