summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/strerror.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-01 14:10:23 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-01 14:10:23 (GMT)
commit6d423195d5bf45116e582b103846a13c986a2c27 (patch)
tree8625e5ca517707ff7a6218b997a3d41dd7c7850e /Utilities/cmcurl/lib/strerror.c
parent4e9685f657277b7a8e12370e3e991f71c041205f (diff)
parent4446fda8e019a0138bec1aa2d83a720d63019ff9 (diff)
downloadCMake-6d423195d5bf45116e582b103846a13c986a2c27.zip
CMake-6d423195d5bf45116e582b103846a13c986a2c27.tar.gz
CMake-6d423195d5bf45116e582b103846a13c986a2c27.tar.bz2
Merge branch 'upstream-curl' into update-curl
* upstream-curl: curl 2020-06-30 (5a1fc8d3)
Diffstat (limited to 'Utilities/cmcurl/lib/strerror.c')
-rw-r--r--Utilities/cmcurl/lib/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/strerror.c b/Utilities/cmcurl/lib/strerror.c
index 1a166bf..015e588 100644
--- a/Utilities/cmcurl/lib/strerror.c
+++ b/Utilities/cmcurl/lib/strerror.c
@@ -795,7 +795,7 @@ const char *Curl_strerror(int err, char *buf, size_t buflen)
#endif /* end of not Windows */
- buf[max] = '\0'; /* make sure the string is zero terminated */
+ buf[max] = '\0'; /* make sure the string is null-terminated */
/* strip trailing '\r\n' or '\n'. */
p = strrchr(buf, '\n');