X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Finc.c;h=72c79b70f9b615d4c410d591f1af4b595b34f0a3;hb=e1b283895cc1768f8821b980fa5fe56a2567a283;hp=edb288f135689d4d9b8994dab94ad7868d0cc5ac;hpb=7e5bac1a416e400bd3c8941b1c312577f2d9e9e4;p=mmh diff --git a/uip/inc.c b/uip/inc.c index edb288f..72c79b7 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -202,7 +202,7 @@ main (int argc, char **argv) struct msgs *mp = NULL; struct stat st, s1; FILE *aud = NULL; - char b[MAXPATHLEN + 1]; + char b[PATH_MAX + 1]; char *maildir_copy = NULL; /* copy of mail directory because the static gets overwritten */ int nmsgs, nbytes; @@ -245,9 +245,6 @@ main (int argc, char **argv) if (pophost && *pophost) host = pophost; - if ((cp = getenv ("MHPOPDEBUG")) && *cp) - snoop++; - while ((cp = *argp++)) { if (*cp == '-') { switch (smatch (++cp, switches)) { @@ -260,10 +257,10 @@ main (int argc, char **argv) case HELPSW: snprintf (buf, sizeof(buf), "%s [+folder] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case AUDSW: if (!(cp = *argp++) || *cp == '-')