From 3511d93852f975c99b9cee797801c5a6b04b1860 Mon Sep 17 00:00:00 2001 From: Eric Allman Date: Thu, 20 Aug 1981 21:50:19 -0800 Subject: [PATCH 1/1] pretty up message that include() prints SCCS-vsn: usr.sbin/sendmail/src/recipient.c 3.3 --- usr/src/usr.sbin/sendmail/src/recipient.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/src/usr.sbin/sendmail/src/recipient.c b/usr/src/usr.sbin/sendmail/src/recipient.c index b7c1560bdf..2c12e8546c 100644 --- a/usr/src/usr.sbin/sendmail/src/recipient.c +++ b/usr/src/usr.sbin/sendmail/src/recipient.c @@ -8,7 +8,7 @@ # include # endif LOG -static char SccsId[] = "@(#)recipient.c 3.2 %G%"; +static char SccsId[] = "@(#)recipient.c 3.3 %G%"; /* ** SENDTO -- Designate a send list. @@ -229,6 +229,7 @@ include(fname, msg) { char buf[MAXLINE]; register FILE *fp; + char *oldto = To; fp = fopen(fname, "r"); if (fp == NULL) @@ -246,7 +247,7 @@ include(fname, msg) *p = '\0'; if (buf[0] == '\0') continue; - To = fname; + To = oldto; if (Verbose) message(Arpa_Info, "%s to %s", msg, buf); AliasLevel++; -- 2.20.1