From 362928251be02063c7232ccd6ec27318fae48d19 Mon Sep 17 00:00:00 2001 From: Eric Allman Date: Sun, 13 Sep 1981 00:55:17 -0800 Subject: [PATCH] print message when sending to full name equivalent SCCS-vsn: usr.sbin/sendmail/src/recipient.c 3.15 --- usr/src/usr.sbin/sendmail/src/recipient.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.20.1