]> diplodocus.org Git - nmh/blobdiff - uip/comp.c
Use variable-size (but in one case, fixed but larger) buffers for the SASL
[nmh] / uip / comp.c
index a7300c34300c647f5c6a4ea4fa081e15ec2c3f25..02feefaa445765d10c19946004b485cf5f9bb36f 100644 (file)
@@ -83,11 +83,7 @@ main (int argc, char **argv)
     struct format *fmt;
     struct stat st;
 
     struct format *fmt;
     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;
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;