summaryrefslogtreecommitdiffstats
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2020-06-30 13:30:38 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-01 14:09:50 (GMT)
commit4446fda8e019a0138bec1aa2d83a720d63019ff9 (patch)
tree470d68139edf0b965ead4ecaf805a222e34e98f9 /lib/strerror.c
parent5717fdc114a704cddae629e20e6588191360e98a (diff)
downloadCMake-4446fda8e019a0138bec1aa2d83a720d63019ff9.zip
CMake-4446fda8e019a0138bec1aa2d83a720d63019ff9.tar.gz
CMake-4446fda8e019a0138bec1aa2d83a720d63019ff9.tar.bz2
curl 2020-06-30 (5a1fc8d3)
Code extracted from: https://github.com/curl/curl.git at commit 5a1fc8d33808d7b22f57bdf9403cda7ff07b0670 (curl-7_71_1).
Diffstat (limited to 'lib/strerror.c')
-rw-r--r--lib/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 1a166bf..015e588 100644
--- a/lib/strerror.c
+++ b/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');