summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-05-28 21:46:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-31 11:34:32 +0200
commit8ea5d41fe0167802c74a049e8409a85fb68083be (patch)
tree5fc7fc8fe2d5ecbce37bc2031e0f1af638155f63 /lib/multi.c
parent946ce5b61fc3832935ea92b4388116c7f637fb8c (diff)
downloadcurl-8ea5d41fe0167802c74a049e8409a85fb68083be.tar.gz
strictness: correct {infof, failf} format specifiers
Closes #2623
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c
index b6f5b796d..d48eed4e5 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -555,7 +555,7 @@ static CURLcode multi_done(struct connectdata **connp,
if(conn->send_pipe.size || conn->recv_pipe.size) {
/* Stop if pipeline is not empty . */
data->easy_conn = NULL;
- DEBUGF(infof(data, "Connection still in use %d/%d, "
+ DEBUGF(infof(data, "Connection still in use %zu/%zu, "
"no more multi_done now!\n",
conn->send_pipe.size, conn->recv_pipe.size));
return CURLE_OK;
@@ -1083,7 +1083,7 @@ CURLMcode curl_multi_wait(struct Curl_multi *multi,
int pollrc;
/* wait... */
pollrc = Curl_poll(ufds, nfds, timeout_ms);
- DEBUGF(infof(data, "Curl_poll(%d ds, %d ms) == %d\n",
+ DEBUGF(infof(data, "Curl_poll(%u ds, %d ms) == %d\n",
nfds, timeout_ms, pollrc));
if(pollrc > 0) {