From 876d3a1be4aa406672cc674a171f26878319d505 Mon Sep 17 00:00:00 2001 From: millert <> Date: Wed, 9 Jul 1997 01:08:53 +0000 Subject: Clean up some -Wall flowers. --- src/lib/libc/net/ns_addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libc/net/ns_addr.c') diff --git a/src/lib/libc/net/ns_addr.c b/src/lib/libc/net/ns_addr.c index 96e01e2106..9a4483a209 100644 --- a/src/lib/libc/net/ns_addr.c +++ b/src/lib/libc/net/ns_addr.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: ns_addr.c,v 1.2 1996/08/19 08:29:30 tholo Exp $"; +static char rcsid[] = "$OpenBSD: ns_addr.c,v 1.3 1997/07/09 01:08:41 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -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, '#'))) separator = '#'; else { hostname = strchr(buf, '.'); -- cgit v1.2.3-55-g6feb