summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/lib/isc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-03-20 03:34:33 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-03-20 03:34:33 +0000
commit94bab411a276ca02ad0192636b48b1d85de9573b (patch)
tree58dd312d251248411105caf58294fc8a94d15109 /usr.sbin/bind/lib/isc
parentbe1f47e5ea2a0ac1fc58fdb575e2852d89844f68 (diff)
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'usr.sbin/bind/lib/isc')
-rw-r--r--usr.sbin/bind/lib/isc/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/isc/string.c b/usr.sbin/bind/lib/isc/string.c
index 00a47a0ffeb..d01af8ac755 100644
--- a/usr.sbin/bind/lib/isc/string.c
+++ b/usr.sbin/bind/lib/isc/string.c
@@ -38,7 +38,7 @@ isc_string_touint64(char *source, char **end, int base) {
return (0);
}
- while (*s != 0 && isascii(*s&0xff) && isspace(*s&0xff))
+ while (isascii(*s&0xff) && isspace(*s&0xff))
s++;
if (*s == '+' /* || *s == '-' */)
s++;