From 47346b568cae68439c3d39f06f8c4ab14911475d Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sat, 16 Sep 2023 22:53:10 +0300 Subject: libcurl: update to 8.3.0 --- libs/libcurl/src/mqtt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libs/libcurl/src/mqtt.c') diff --git a/libs/libcurl/src/mqtt.c b/libs/libcurl/src/mqtt.c index cd72c5015e..eb4ee55533 100644 --- a/libs/libcurl/src/mqtt.c +++ b/libs/libcurl/src/mqtt.c @@ -117,11 +117,9 @@ static CURLcode mqtt_send(struct Curl_easy *data, char *buf, size_t len) { CURLcode result = CURLE_OK; - struct connectdata *conn = data->conn; - curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; struct MQTT *mq = data->req.p.mqtt; ssize_t n; - result = Curl_write(data, sockfd, buf, len, &n); + result = Curl_nwrite(data, FIRSTSOCKET, buf, len, &n); if(result) return result; Curl_debug(data, CURLINFO_HEADER_OUT, buf, (size_t)n); -- cgit v1.2.3