summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/inet_network.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-07-09 01:08:14 +0000
committermillert <millert@openbsd.org>1997-07-09 01:08:14 +0000
commit58720cefabfdfa87eea4aa3b9f9187c6b282ab9f (patch)
treef182293e2f80c91fed9603a2876cad00234e937b /lib/libc/net/inet_network.c
parent#include <netgroup.h> (diff)
downloadwireguard-openbsd-58720cefabfdfa87eea4aa3b9f9187c6b282ab9f.tar.xz
wireguard-openbsd-58720cefabfdfa87eea4aa3b9f9187c6b282ab9f.zip
Clean up some -Wall flowers.
Diffstat (limited to 'lib/libc/net/inet_network.c')
-rw-r--r--lib/libc/net/inet_network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/inet_network.c b/lib/libc/net/inet_network.c
index a5360b72522..8a9a555d62a 100644
--- a/lib/libc/net/inet_network.c
+++ b/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 <sys/types.h>
@@ -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++;