X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6b4bc4a25eaac2eddd1bef51e3f00c21f98ed32d..236a2b64249d7ffe0c4eaea2ef89b86f759ceda6:/uip/forw.c?ds=sidebyside diff --git a/uip/forw.c b/uip/forw.c index 45fb740f..2139d35c 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -116,16 +116,9 @@ main (int argc, char **argv) char **argp, **arguments; struct stat st; struct msgs_array msgs = { 0, 0, NULL }; - int buildsw = 0; -#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; } arguments = getarguments (invo_name, argc, argv, 1); argp = arguments;