mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
parent
706eff9f1f
commit
746dbc1488
4 changed files with 11 additions and 11 deletions
|
|
@ -300,7 +300,7 @@ static CURLcode mqtt_connect(struct Curl_easy *data)
|
|||
/* add client id */
|
||||
rc = add_client_id(client_id, strlen(client_id), packet, pos + 1);
|
||||
if(rc) {
|
||||
failf(data, "Client ID length mismatched: [%lu]", strlen(client_id));
|
||||
failf(data, "Client ID length mismatched: [%zu]", strlen(client_id));
|
||||
result = CURLE_WEIRD_SERVER_REPLY;
|
||||
goto end;
|
||||
}
|
||||
|
|
@ -317,7 +317,7 @@ static CURLcode mqtt_connect(struct Curl_easy *data)
|
|||
rc = add_user(username, ulen,
|
||||
(unsigned char *)packet, start_user, remain_pos);
|
||||
if(rc) {
|
||||
failf(data, "Username is too large: [%lu]", ulen);
|
||||
failf(data, "Username is too large: [%zu]", ulen);
|
||||
result = CURLE_WEIRD_SERVER_REPLY;
|
||||
goto end;
|
||||
}
|
||||
|
|
@ -327,7 +327,7 @@ static CURLcode mqtt_connect(struct Curl_easy *data)
|
|||
if(plen) {
|
||||
rc = add_passwd(passwd, plen, packet, start_pwd, remain_pos);
|
||||
if(rc) {
|
||||
failf(data, "Password is too large: [%lu]", plen);
|
||||
failf(data, "Password is too large: [%zu]", plen);
|
||||
result = CURLE_WEIRD_SERVER_REPLY;
|
||||
goto end;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue