From: Eric Allman Date: Sun, 13 Sep 1981 08:55:17 +0000 (-0800) Subject: print message when sending to full name equivalent X-Git-Tag: BSD-4_1_snap-Snapshot-Development~852 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/362928251be02063c7232ccd6ec27318fae48d19 print message when sending to full name equivalent SCCS-vsn: usr.sbin/sendmail/src/recipient.c 3.15 --- diff --git a/usr/src/usr.sbin/sendmail/src/recipient.c b/usr/src/usr.sbin/sendmail/src/recipient.c index ca0fc4427e..62560ce930 100644 --- a/usr/src/usr.sbin/sendmail/src/recipient.c +++ b/usr/src/usr.sbin/sendmail/src/recipient.c @@ -3,7 +3,7 @@ # include # include "sendmail.h" -static char SccsId[] = "@(#)recipient.c 3.14 %G%"; +static char SccsId[] = "@(#)recipient.c 3.15 %G%"; /* ** SENDTO -- Designate a send list. @@ -271,7 +271,11 @@ finduser(name) for (p = buf; (p = index(p, ' ')) != NULL; ) *p++ = SPACESUB & 0177; if (sameword(buf, name)) + { + if (Verbose) + message(Arpa_Info, "sending to login name %s", pw->pw_name); return (pw); + } } return (NULL); }