summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/mqtt.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-02 12:31:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-02 12:32:54 (GMT)
commit6935ffd550a6e232547f29cf515030697c33e10f (patch)
treefcb0ec23bf900c296d08d619e706f5e9b07db062 /Utilities/cmcurl/lib/mqtt.c
parenteef098ec312642de26a14118dbd7bc98e6979e61 (diff)
parent6d423195d5bf45116e582b103846a13c986a2c27 (diff)
downloadCMake-6935ffd550a6e232547f29cf515030697c33e10f.zip
CMake-6935ffd550a6e232547f29cf515030697c33e10f.tar.gz
CMake-6935ffd550a6e232547f29cf515030697c33e10f.tar.bz2
Merge topic 'update-curl' into release-3.18
6d423195d5 Merge branch 'upstream-curl' into update-curl 4446fda8e0 curl 2020-06-30 (5a1fc8d3) 4e9685f657 curl: Update script to get curl 7.71.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4958
Diffstat (limited to 'Utilities/cmcurl/lib/mqtt.c')
-rw-r--r--Utilities/cmcurl/lib/mqtt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/mqtt.c b/Utilities/cmcurl/lib/mqtt.c
index d09aab4..f6f4416 100644
--- a/Utilities/cmcurl/lib/mqtt.c
+++ b/Utilities/cmcurl/lib/mqtt.c
@@ -211,7 +211,8 @@ static CURLcode mqtt_get_topic(struct connectdata *conn,
char *path = conn->data->state.up.path;
if(strlen(path) > 1) {
- result = Curl_urldecode(conn->data, path + 1, 0, topic, topiclen, FALSE);
+ result = Curl_urldecode(conn->data, path + 1, 0, topic, topiclen,
+ REJECT_NADA);
}
else {
failf(conn->data, "Error: No topic specified.");