artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be9e59b
)
wild white space
author
deraadt
<deraadt@openbsd.org>
Tue, 3 Sep 2024 17:05:59 +0000
(17:05 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 3 Sep 2024 17:05:59 +0000
(17:05 +0000)
lib/libc/net/inet_pton.c
patch
|
blob
|
history
diff --git
a/lib/libc/net/inet_pton.c
b/lib/libc/net/inet_pton.c
index
5d7148e
..
45bafd2
100644
(file)
--- a/
lib/libc/net/inet_pton.c
+++ b/
lib/libc/net/inet_pton.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: inet_pton.c,v 1.1
0 2015/09/13 21:36:08 guenther Exp $
*/
+/* $OpenBSD: inet_pton.c,v 1.1
1 2024/09/03 17:05:59 deraadt Exp $
*/
/* Copyright (c) 1996 by Internet Software Consortium.
*
@@
-87,7
+87,7
@@
inet_pton4(const char *src, u_char *dst)
if (new > 255)
return (0);
- if (!
saw_digit) {
+ if (!saw_digit) {
if (++octets > 4)
return (0);
saw_digit = 1;