summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/mqtt.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-07-07 22:32:37 +0300
committerdartraiden <wowemuh@gmail.com>2020-07-07 22:33:07 +0300
commitc1e254b55d930cccbae653320442fb7669be7692 (patch)
tree44d5ec46130218ac0e2cc8147613ff618b686657 /libs/libcurl/src/mqtt.c
parent9a8de7bc1afb5f72ddb6967c8fc32209ae3a73dd (diff)
libcurl: update to 7.71.1
Diffstat (limited to 'libs/libcurl/src/mqtt.c')
-rw-r--r--libs/libcurl/src/mqtt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/libcurl/src/mqtt.c b/libs/libcurl/src/mqtt.c
index d09aab4eef..f6f4416140 100644
--- a/libs/libcurl/src/mqtt.c
+++ b/libs/libcurl/src/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.");