]> diplodocus.org Git - nmh/blobdiff - uip/mhlist.c
Use RFC 2047 encoding for Content-Description, and make sure to encode
[nmh] / uip / mhlist.c
index 9cdcdf6bf2dab6d7ee130bc853a84b946a88a8d4..f37041c38f1cb07d01b52a4595296535e3c479c7 100644 (file)
@@ -104,15 +104,9 @@ main (int argc, char **argv)
     struct msgs *mp = NULL;
     CT ct, *ctp;
 
-    done=freects_done;
-
-#ifdef LOCALE
-    setlocale(LC_ALL, "");
-#endif
-    invo_name = r1bindex (argv[0], '/');
+    if (nmh_init(argv[0], 1)) { return 1; }
 
-    /* read user profile/context */
-    context_read();
+    done=freects_done;
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;