]> diplodocus.org Git - nmh/blobdiff - uip/dist.c
Removed msh relics from scansbr.c, including a global.
[nmh] / uip / dist.c
index 00503be5552edf7893365c927499a64acdf529ca..5a35e59a7385b052b918a9f3b47b81f2ac308114 100644 (file)
@@ -83,11 +83,7 @@ main (int argc, char **argv)
     struct msgs *mp = NULL;
     struct stat st;
 
-    setlocale(LC_ALL, "");
-    invo_name = r1bindex (argv[0], '/');
-
-    /* read user profile/context */
-    context_read();
+    if (nmh_init(argv[0], 1)) { return 1; }
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;