summaryrefslogtreecommitdiff
path: root/lib/libc/net/ns_addr.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-09 01:08:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-09 01:08:58 +0000
commit2f44868befb3b820255d0c12c2faae04cfcd2fe7 (patch)
treeda72e56df4e4995be92ab233ba5ff6cbebd31339 /lib/libc/net/ns_addr.c
parent96645b36554924af429d15a6fd1421c970878795 (diff)
Clean up some -Wall flowers.
Diffstat (limited to 'lib/libc/net/ns_addr.c')
-rw-r--r--lib/libc/net/ns_addr.c4
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, '.');