diff options
Diffstat (limited to 'lib/libc/net/ns_addr.c')
-rw-r--r-- | lib/libc/net/ns_addr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/param.h> @@ -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, '.'); |