X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..ceeb47c04f8abb144a3fbaeae3a54010175c2d36:/uip/msgchk.c?ds=sidebyside diff --git a/uip/msgchk.c b/uip/msgchk.c index 2fede57e..73ed7284 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -78,7 +79,7 @@ DEFINE_SWITCH_ARRAY(MSGCHK, switches); /* * static prototypes */ -static int donote (char *, int); +static int donote (char *, int) PURE; static int checkmail (char *, char *, int, int, int); static int remotemail (char *, char *, char *, char *, int, int, int, int, char *, int, const char *); @@ -153,8 +154,7 @@ main (int argc, char **argv) adios (NULL, "missing argument to %s", argp[-2]); if (vecp >= MAXVEC-1) adios (NULL, "you can only check %d users at a time", MAXVEC-1); - else - user = vec[vecp++] = cp; + user = vec[vecp++] = cp; continue; case SNOOPSW: @@ -207,8 +207,7 @@ main (int argc, char **argv) } if (vecp >= MAXVEC-1) adios (NULL, "you can only check %d users at a time", MAXVEC-1); - else - vec[vecp++] = cp; + vec[vecp++] = cp; } /* @@ -399,7 +398,7 @@ remotemail (char *host, char *port, char *user, char *proxy, int notifysw, printf ("%s has ", user); printf ("%d message%s (%d bytes)", - nmsgs, nmsgs != 1 ? "s" : "", nbytes); + nmsgs, PLURALS(nmsgs), nbytes); } else notifysw = 0;