X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ee412cbd5c0667742a128fb4e1c89801528a9a48..9779a9db4316e2348eb120c716acc41e6b12a849:/uip/slocal.c diff --git a/uip/slocal.c b/uip/slocal.c index 8cca5e35..c86f2cee 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -8,7 +8,7 @@ /* * Under sendmail, users should add the line * - * "| /usr/local/nmh/lib/slocal" + * "| /usr/local/nmh/lib/slocal" * * to their $HOME/.forward file. * @@ -285,9 +285,9 @@ main (int argc, char **argv) } if (addr == NULL) - addr = getusername (); + addr = getusername (1); if (user == NULL) { - user = getusername (); + user = getusername (1); } if ((pw = getpwnam (user)) == NULL) die("no such local user as %s", user); @@ -501,7 +501,7 @@ usr_delivery (int fd, char *delivery, int su) * If previous condition failed, don't * do this - else fall through */ - if (!next) + if (!next) continue; /* FALLTHRU */