X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/71458b3b2492943349f7693a46792756d5013c69..bf58e45a34dcf8300098abff38c4e7393152f365:/uip/forw.c diff --git a/uip/forw.c b/uip/forw.c index 9eeb6123..2139d35c 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -116,14 +116,9 @@ main (int argc, char **argv) char **argp, **arguments; struct stat st; struct msgs_array msgs = { 0, 0, NULL }; - int buildsw = 0; - 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;