From 2f44868befb3b820255d0c12c2faae04cfcd2fe7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 9 Jul 1997 01:08:58 +0000 Subject: Clean up some -Wall flowers. --- lib/libc/net/ns_addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/net/ns_addr.c') diff --git a/lib/libc/net/ns_addr.c b/lib/libc/net/ns_addr.c index 96e01e2106b..9a4483a2097 100644 --- a/lib/libc/net/ns_addr.c +++ b/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