summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/file.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/file.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/file.c')
-rw-r--r--Utilities/cmcurl/lib/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/file.c b/Utilities/cmcurl/lib/file.c
index 576a794..cd3e49c 100644
--- a/Utilities/cmcurl/lib/file.c
+++ b/Utilities/cmcurl/lib/file.c
@@ -144,7 +144,7 @@ static CURLcode file_connect(struct connectdata *conn, bool *done)
size_t real_path_len;
CURLcode result = Curl_urldecode(data, data->state.up.path, 0, &real_path,
- &real_path_len, FALSE);
+ &real_path_len, REJECT_ZERO);
if(result)
return result;