]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
Add test for -maxunencoded.
[nmh] / uip / scan.c
index 1f487cd..2066869 100644 (file)
@@ -52,13 +52,7 @@ main (int argc, char **argv)
     struct msgs *mp;
     FILE *in;
 
-#ifdef LOCALE
-    setlocale(LC_ALL, "");
-#endif
-    invo_name = r1bindex (argv[0], '/');
-
-    /* read user profile/context */
-    context_read();
+    if (nmh_init(argv[0], 1)) { return 1; }
 
     mts_init (invo_name);
     arguments = getarguments (invo_name, argc, argv, 1);