summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/lib/tftp.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-01 10:10:23 -0400
committerBrad King <brad.king@kitware.com>2020-07-01 10:10:23 -0400
commit6d423195d5bf45116e582b103846a13c986a2c27 (patch)
tree8625e5ca517707ff7a6218b997a3d41dd7c7850e /Utilities/cmcurl/lib/tftp.c
parent4e9685f657277b7a8e12370e3e991f71c041205f (diff)
parent4446fda8e019a0138bec1aa2d83a720d63019ff9 (diff)
downloadcmake-6d423195d5bf45116e582b103846a13c986a2c27.tar.gz
Merge branch 'upstream-curl' into update-curl
* upstream-curl: curl 2020-06-30 (5a1fc8d3)
Diffstat (limited to 'Utilities/cmcurl/lib/tftp.c')
-rw-r--r--Utilities/cmcurl/lib/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/tftp.c b/Utilities/cmcurl/lib/tftp.c
index 4f2f973a8e..378d956081 100644
--- a/Utilities/cmcurl/lib/tftp.c
+++ b/Utilities/cmcurl/lib/tftp.c
@@ -487,7 +487,7 @@ static CURLcode tftp_send_first(struct tftp_state_data *state,
file name so we skip the always-present first letter of the path
string. */
result = Curl_urldecode(data, &state->conn->data->state.up.path[1], 0,
- &filename, NULL, FALSE);
+ &filename, NULL, REJECT_ZERO);
if(result)
return result;