summaryrefslogtreecommitdiff
path: root/lib/pipeline.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-24 16:43:13 +0200
committerYang Tse <yangsita@gmail.com>2013-07-24 16:46:24 +0200
commit4fad1943a256fcfbbb74603ba22fe7377e59e003 (patch)
tree534631327cf317970d0cf6dc093dfc73fa5ad435 /lib/pipeline.c
parent4d346673a267c7111c667d5fe2962db09df506d4 (diff)
downloadcurl-4fad1943a256fcfbbb74603ba22fe7377e59e003.tar.gz
string formatting: fix 15+ printf-style format strings
Diffstat (limited to 'lib/pipeline.c')
-rw-r--r--lib/pipeline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pipeline.c b/lib/pipeline.c
index 73ac9c5a3..418058afa 100644
--- a/lib/pipeline.c
+++ b/lib/pipeline.c
@@ -86,7 +86,7 @@ bool Curl_pipeline_penalized(struct SessionHandle *data,
penalized = TRUE;
infof(data, "Conn: %ld (%p) Receive pipe weight: (%" FORMAT_OFF_T
- "/%zd), penalized: %s\n",
+ "/%zu), penalized: %s\n",
conn->connection_id, (void *)conn, recv_size,
conn->chunk.datasize, penalized?"TRUE":"FALSE");
return penalized;
@@ -322,7 +322,7 @@ void print_pipeline(struct connectdata *conn)
curr = cb_ptr->conn_list->head;
while(curr) {
conn = curr->ptr;
- infof(data, "- Conn %ld (%p) send_pipe: %zd, recv_pipe: %zd\n",
+ infof(data, "- Conn %ld (%p) send_pipe: %zu, recv_pipe: %zu\n",
conn->connection_id,
(void *)conn,
conn->send_pipe->size,