mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
fix printf-style format strings
This commit is contained in:
parent
f47b84b57f
commit
7aef172a34
15 changed files with 50 additions and 49 deletions
|
|
@ -343,8 +343,8 @@ static CURLcode pausewrite(struct SessionHandle *data,
|
|||
/* mark the connection as RECV paused */
|
||||
k->keepon |= KEEP_RECV_PAUSE;
|
||||
|
||||
DEBUGF(infof(data, "Pausing with %d bytes in buffer for type %02x\n",
|
||||
(int)len, type));
|
||||
DEBUGF(infof(data, "Pausing with %zu bytes in buffer for type %02x\n",
|
||||
len, type));
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
@ -426,7 +426,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
|
|||
return pausewrite(data, type, ptr, len);
|
||||
|
||||
if(wrote != len) {
|
||||
failf(data, "Failed writing body (%d != %d)", (int)wrote, (int)len);
|
||||
failf(data, "Failed writing body (%zu != %zu)", wrote, len);
|
||||
return CURLE_WRITE_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue