diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2001-02-28 00:19:57 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2001-02-28 00:19:57 +0000 |
commit | 8d82727087db5182be90a20f20175cc720c5d1e5 (patch) | |
tree | f7a64a70968946b03a6d79fcded22b5a31689f6d /contrib/sendmail/src/macro.c | |
parent | 167a83e7b8733416154f871e39e86ba77eb1554d (diff) | |
download | FreeBSD-src-8d82727087db5182be90a20f20175cc720c5d1e5.zip FreeBSD-src-8d82727087db5182be90a20f20175cc720c5d1e5.tar.gz |
Import sendmail 8.11.3
Diffstat (limited to 'contrib/sendmail/src/macro.c')
-rw-r--r-- | contrib/sendmail/src/macro.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/sendmail/src/macro.c b/contrib/sendmail/src/macro.c index 1a32182..70e18e4 100644 --- a/contrib/sendmail/src/macro.c +++ b/contrib/sendmail/src/macro.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -12,7 +12,7 @@ */ #ifndef lint -static char id[] = "@(#)$Id: macro.c,v 8.40.16.7 2000/10/09 15:49:06 gshapiro Exp $"; +static char id[] = "@(#)$Id: macro.c,v 8.40.16.9 2001/02/22 01:16:55 gshapiro Exp $"; #endif /* ! lint */ #include <sendmail.h> @@ -295,6 +295,8 @@ macvalue(n, e) if (p != NULL) return p; + if (e == e->e_parent) + break; e = e->e_parent; } return NULL; |