print message when sending to full name equivalent
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 13 Sep 1981 08:55:17 +0000 (00:55 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 13 Sep 1981 08:55:17 +0000 (00:55 -0800)
SCCS-vsn: usr.sbin/sendmail/src/recipient.c 3.15

usr/src/usr.sbin/sendmail/src/recipient.c

index ca0fc44..62560ce 100644 (file)
@@ -3,7 +3,7 @@
 # include <sys/stat.h>
 # include "sendmail.h"
 
 # include <sys/stat.h>
 # include "sendmail.h"
 
-static char SccsId[] = "@(#)recipient.c        3.14    %G%";
+static char SccsId[] = "@(#)recipient.c        3.15    %G%";
 
 /*
 **  SENDTO -- Designate a send list.
 
 /*
 **  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))
                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 (pw);
+               }
        }
        return (NULL);
 }
        }
        return (NULL);
 }