diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/net/inet_network.c | 4 |
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 ef8f21b280..7b0cf50e79 100644 --- a/src/lib/libc/net/inet_network.c +++ b/src/lib/libc/net/inet_network.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inet_network.c,v 1.12 2015/09/13 21:36:08 guenther Exp $ */ | 1 | /* $OpenBSD: inet_network.c,v 1.13 2015/10/22 23:55:51 mmcc Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1983, 1993 | 3 | * Copyright (c) 1983, 1993 |
4 | * The Regents of the University of California. All rights reserved. | 4 | * The Regents of the University of California. All rights reserved. |
@@ -71,7 +71,7 @@ again: | |||
71 | *pp++ = val, cp++; | 71 | *pp++ = val, cp++; |
72 | goto again; | 72 | goto again; |
73 | } | 73 | } |
74 | if (*cp && !isspace(*cp)) | 74 | if (*cp && !isspace((unsigned char)*cp)) |
75 | return (INADDR_NONE); | 75 | return (INADDR_NONE); |
76 | *pp++ = val; | 76 | *pp++ = val; |
77 | n = pp - parts; | 77 | n = pp - parts; |