diff options
author | Curl Upstream <curl-library@cool.haxx.se> | 2018-10-30 17:54:00 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-31 09:41:28 -0400 |
commit | 9835e9075037db3d23ade0ef865c562b08cf6023 (patch) | |
tree | 004b65c185c842dadac199a1ecca1de6bda566a0 /lib/strdup.c | |
parent | 18812a9c3d395b368d8f3d85394b346472c8e858 (diff) | |
download | cmake-9835e9075037db3d23ade0ef865c562b08cf6023.tar.gz |
curl 2018-10-30 (19667715)
Code extracted from:
https://github.com/curl/curl.git
at commit 196677150f711a96c38ed123e621f1d4e995b2e5 (curl-7_62_0).
Diffstat (limited to 'lib/strdup.c')
-rw-r--r-- | lib/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strdup.c b/lib/strdup.c index 19cb044162..51e7978b7f 100644 --- a/lib/strdup.c +++ b/lib/strdup.c @@ -81,7 +81,7 @@ void *Curl_memdup(const void *src, size_t length) * Curl_saferealloc(ptr, size) * * Does a normal realloc(), but will free the data pointer if the realloc - * fails. If 'size' is zero, it will free the data and return a failure. + * fails. If 'size' is non-zero, it will free the data and return a failure. * * This convenience function is provided and used to help us avoid a common * mistake pattern when we could pass in a zero, catch the NULL return and end |