]> diplodocus.org Git - nmh/blobdiff - uip/dp.c
Remove unused variable, and make sure we free c_dispo_type.
[nmh] / uip / dp.c
index 8245f60ad66eb06693b333ff46e8ae522de5f604..dabdd74c84adde9eb358988a2b5aa1e64def9e13 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -51,11 +51,7 @@ main (int argc, char **argv)
     char buf[BUFSIZ], **argp, **arguments;
     char *dates[NDATES];
 
-    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;