X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9cf9f118998a7635485e13863d1bc16c1486bb05..236a2b64249d7ffe0c4eaea2ef89b86f759ceda6:/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;