summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/inet_pton.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-09 16:45:25 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-09 16:45:25 (GMT)
commit54931fdff020f72bbd157fd1640a0fef52e4f183 (patch)
tree31e7f9ea89fb8ab0e17fe17efd881ea947962a4a /Utilities/cmcurl/lib/inet_pton.c
parent4cd65e5d882333e48155cf8b5bb52d088aa63cdf (diff)
parent5aacc593a961fe9ee1427c03d18fba8947a9e33d (diff)
downloadCMake-54931fdff020f72bbd157fd1640a0fef52e4f183.zip
CMake-54931fdff020f72bbd157fd1640a0fef52e4f183.tar.gz
CMake-54931fdff020f72bbd157fd1640a0fef52e4f183.tar.bz2
Merge branch 'upstream-curl' into update-curl
* upstream-curl: curl 2020-12-09 (e0528597)
Diffstat (limited to 'Utilities/cmcurl/lib/inet_pton.c')
-rw-r--r--Utilities/cmcurl/lib/inet_pton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/lib/inet_pton.c b/Utilities/cmcurl/lib/inet_pton.c
index 9c87a05..4923cae 100644
--- a/Utilities/cmcurl/lib/inet_pton.c
+++ b/Utilities/cmcurl/lib/inet_pton.c
@@ -1,6 +1,6 @@
/* This is from the BIND 4.9.4 release, modified to compile by itself */
-/* Copyright (c) 1996 - 2019 by Internet Software Consortium.
+/* Copyright (c) 1996 - 2020 by Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -112,7 +112,7 @@ inet_pton4(const char *src, unsigned char *dst)
if(val > 255)
return (0);
*tp = (unsigned char)val;
- if(! saw_digit) {
+ if(!saw_digit) {
if(++octets > 4)
return (0);
saw_digit = 1;