SCCS-vsn: usr.sbin/sendmail/src/version.c 3.123
SCCS-vsn: usr.sbin/sendmail/src/readcf.c 3.27
-SCCSID(@(#)readcf.c 3.26 %G%);
+SCCSID(@(#)readcf.c 3.27 %G%);
/*
** READCF -- read control file.
/*
** READCF -- read control file.
int class;
int ruleset = 0;
char exbuf[MAXLINE];
int class;
int ruleset = 0;
char exbuf[MAXLINE];
cf = fopen(cfname, "r");
if (cf == NULL)
cf = fopen(cfname, "r");
if (cf == NULL)
/* expand and save the RHS */
while (*++p == '\t')
continue;
/* expand and save the RHS */
while (*++p == '\t')
continue;
- expand(p, exbuf, &exbuf[sizeof exbuf], CurEnv);
+ q = p;
+ while (*p != '\0' && *p != '\t')
+ p++;
+ *p = '\0';
+ expand(q, exbuf, &exbuf[sizeof exbuf], CurEnv);
rwp->r_rhs = prescan(exbuf, '\t');
if (rwp->r_rhs != NULL)
rwp->r_rhs = copyplist(rwp->r_rhs, TRUE);
rwp->r_rhs = prescan(exbuf, '\t');
if (rwp->r_rhs != NULL)
rwp->r_rhs = copyplist(rwp->r_rhs, TRUE);
-static char SccsId[] = "@(#)SendMail version 3.122 of %G%";
+static char SccsId[] = "@(#)SendMail version 3.123 of %G%";
-char Version[] = "3.122 [%G%]";
+char Version[] = "3.123 [%G%]";