summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet_network.c
diff options
context:
space:
mode:
authormillert <>1997-07-09 01:08:53 +0000
committermillert <>1997-07-09 01:08:53 +0000
commit876d3a1be4aa406672cc674a171f26878319d505 (patch)
tree72a738d612791a6e60d74a474bca3bbbcac4828c /src/lib/libc/net/inet_network.c
parentfd3592b18f24103bfc82412a8950e5f06e549ff1 (diff)
downloadopenbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.gz
openbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.bz2
openbsd-876d3a1be4aa406672cc674a171f26878319d505.zip
Clean up some -Wall flowers.
Diffstat (limited to 'src/lib/libc/net/inet_network.c')
-rw-r--r--src/lib/libc/net/inet_network.c4
1 files changed, 2 insertions, 2 deletions
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 @@
32 */ 32 */
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35static char rcsid[] = "$OpenBSD: inet_network.c,v 1.6 1997/04/24 08:35:21 tholo Exp $"; 35static char rcsid[] = "$OpenBSD: inet_network.c,v 1.7 1997/07/09 01:08:37 millert Exp $";
36#endif /* LIBC_SCCS and not lint */ 36#endif /* LIBC_SCCS and not lint */
37 37
38#include <sys/types.h> 38#include <sys/types.h>
@@ -60,7 +60,7 @@ again:
60 base = 8, cp++; 60 base = 8, cp++;
61 if (*cp == 'x' || *cp == 'X') 61 if (*cp == 'x' || *cp == 'X')
62 base = 16, cp++; 62 base = 16, cp++;
63 while (c = *cp) { 63 while ((c = *cp)) {
64 if (isdigit(c)) { 64 if (isdigit(c)) {
65 val = (val * base) + (c - '0'); 65 val = (val * base) + (c - '0');
66 cp++; 66 cp++;