summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorderaadt <>2024-09-03 17:05:59 +0000
committerderaadt <>2024-09-03 17:05:59 +0000
commitada42989603817a428e0132199607811d9f06ca6 (patch)
tree25962bdc26c21b0b88021c8ba1afb22b0587acb1 /src/lib
parente39d2570a727c0a5e9be2af2edddd671a4e4eca9 (diff)
downloadopenbsd-ada42989603817a428e0132199607811d9f06ca6.tar.gz
openbsd-ada42989603817a428e0132199607811d9f06ca6.tar.bz2
openbsd-ada42989603817a428e0132199607811d9f06ca6.zip
wild white space
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/net/inet_pton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/inet_pton.c b/src/lib/libc/net/inet_pton.c
index 5d7148e8e9..45bafd2ffc 100644
--- a/src/lib/libc/net/inet_pton.c
+++ b/src/lib/libc/net/inet_pton.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_pton.c,v 1.10 2015/09/13 21:36:08 guenther Exp $ */ 1/* $OpenBSD: inet_pton.c,v 1.11 2024/09/03 17:05:59 deraadt Exp $ */
2 2
3/* Copyright (c) 1996 by Internet Software Consortium. 3/* Copyright (c) 1996 by Internet Software Consortium.
4 * 4 *
@@ -87,7 +87,7 @@ inet_pton4(const char *src, u_char *dst)
87 87
88 if (new > 255) 88 if (new > 255)
89 return (0); 89 return (0);
90 if (! saw_digit) { 90 if (!saw_digit) {
91 if (++octets > 4) 91 if (++octets > 4)
92 return (0); 92 return (0);
93 saw_digit = 1; 93 saw_digit = 1;