X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7e5bac1a416e400bd3c8941b1c312577f2d9e9e4..587e977a97865f091131355f6dd250ece99f7adb:/uip/msgchk.c?ds=sidebyside diff --git a/uip/msgchk.c b/uip/msgchk.c index 8294d462..3654995b 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -92,11 +92,6 @@ main (int argc, char **argv) char **argp, **arguments, *vec[MAXVEC]; struct passwd *pw; -#ifdef HESIOD - struct hes_postoffice *po; - char *tmphost; -#endif - #ifdef LOCALE setlocale(LC_ALL, ""); #endif @@ -111,9 +106,6 @@ main (int argc, char **argv) arguments = getarguments (invo_name, argc, argv, 1); argp = arguments; - if ((cp = getenv ("MHPOPDEBUG")) && *cp) - snoop++; - while ((cp = *argp++)) { if (*cp == '-') { switch (smatch (++cp, switches)) { @@ -127,10 +119,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [switches] [users ...]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case DATESW: datesw++;