diff options
author | phk <phk@FreeBSD.org> | 1998-07-22 05:49:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-07-22 05:49:36 +0000 |
commit | eb2700b9adc82071e3f475ef4b7fff1791dd2c6f (patch) | |
tree | 001a5be02a73995ae15869298e1e7ec63ecc2a16 /sbin/routed/rtquery | |
parent | 7ebd4f74fbc6a8f7433b4480b4e1983271902485 (diff) | |
download | FreeBSD-src-eb2700b9adc82071e3f475ef4b7fff1791dd2c6f.zip FreeBSD-src-eb2700b9adc82071e3f475ef4b7fff1791dd2c6f.tar.gz |
/usr/src/sbin/routed/parms.c and .../routed/rtquery/rtquery.c both
contain code that compare a char pointer with a char. As this
doesn't make much sense, it looks very much as if a '*' has been
dropped by mistake. I have made no analysis of the possible
consequences of the problem.
PR: 7319
Reviewed by: phk
Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
Diffstat (limited to 'sbin/routed/rtquery')
-rw-r--r-- | sbin/routed/rtquery/rtquery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/rtquery/rtquery.c b/sbin/routed/rtquery/rtquery.c index 7f29605..783c561 100644 --- a/sbin/routed/rtquery/rtquery.c +++ b/sbin/routed/rtquery/rtquery.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 6/5/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: rtquery.c,v 1.7 1998/01/14 07:17:12 charnier Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -797,7 +797,7 @@ parse_quote(char **linep, if (c == '\0') break; - if (c == '\\' && pc != '\0') { + if (c == '\\' && *pc != '\0') { if ((c = *pc++) == 'n') { c = '\n'; } else if (c == 'r') { |