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/inet_network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libc/net/inet_network.c') diff --git a/src/lib/libc/net/inet_network.c b/src/lib/libc/net/inet_network.c index a5360b7252..8a9a555d62 100644 --- a/src/lib/libc/net/inet_network.c +++ b/src/lib/libc/net/inet_network.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: inet_network.c,v 1.6 1997/04/24 08:35:21 tholo Exp $"; +static char rcsid[] = "$OpenBSD: inet_network.c,v 1.7 1997/07/09 01:08:37 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -60,7 +60,7 @@ again: base = 8, cp++; if (*cp == 'x' || *cp == 'X') base = 16, cp++; - while (c = *cp) { + while ((c = *cp)) { if (isdigit(c)) { val = (val * base) + (c - '0'); cp++; -- cgit v1.2.3-55-g6feb