X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Finc.c;h=12da6ba15585ea9d988098a4f55c03b82a5b189e;hb=706236baa4c4670b5a074092dec5dec63ff50663;hp=2f7001ee0daa3b820c6e0bd884fb312becb471b8;hpb=2726ac85e14391c3d78c79816eff959c560c986b;p=mmh diff --git a/uip/inc.c b/uip/inc.c index 2f7001e..12da6ba 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; @@ -335,7 +335,7 @@ main (int argc, char **argv) continue; case PORTSW: - if (!(host = *argp++) || *port == '-') + if (!(port = *argp++) || *port == '-') adios (NULL, "missing argument to %s", argp[-2]); continue;