summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ns_addr.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-12-30 13:18:48 +0000
committerpeter <peter@FreeBSD.org>1996-12-30 13:18:48 +0000
commit43be453b52c9807ae45f5761e14df21a517e496c (patch)
tree95acb64999d1c2cf1eac009cfb040c2ee06fcf9f /lib/libc/net/ns_addr.c
parentfe7b8366bd9e63bfd995fe39fdf50e2dc370efff (diff)
downloadFreeBSD-src-43be453b52c9807ae45f5761e14df21a517e496c.zip
FreeBSD-src-43be453b52c9807ae45f5761e14df21a517e496c.tar.gz
Here goes.. Bring the 4.9.5-P1 resolver into -current. This has the
DNSSEC stuff, among other things. There are also some renamed functions, I've left out the res_stubs.c from this commit in case cvs bombs out..
Diffstat (limited to 'lib/libc/net/ns_addr.c')
-rw-r--r--lib/libc/net/ns_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/ns_addr.c b/lib/libc/net/ns_addr.c
index da8f8b4..3446e08 100644
--- a/lib/libc/net/ns_addr.c
+++ b/lib/libc/net/ns_addr.c
@@ -64,7 +64,7 @@ ns_addr(name)
* form 2-272.AA001234H.01777, i.e. XDE standard.
* Great efforts are made to insure backward compatability.
*/
- if (hostname = strchr(buf, '#'))
+ if ((hostname = strchr(buf, '#')) != NULL)
separator = '#';
else {
hostname = strchr(buf, '.');
OpenPOWER on IntegriCloud