diff options
author | Yang Tse <yangsita@gmail.com> | 2013-07-23 15:59:07 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-07-24 01:21:26 +0200 |
commit | de052ca6fc1c73e2857801a1bcf48c18910bec40 (patch) | |
tree | e4254800ae856c194a61efdb61bd07ea35013c04 /lib/multi.c | |
parent | 1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 (diff) |
string formatting: fix 25+ printf-style format strings
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index e173fd64f..cd1562020 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -131,7 +131,7 @@ static void mstate(struct Curl_one_easy *easy, CURLMstate state infof(easy->easy_handle, "STATE: %s => %s handle %p; line %d (connection #%ld) \n", statename[oldstate], statename[easy->state], - (char *)easy, lineno, connection_id); + (void *)easy, lineno, connection_id); } #endif if(state == CURLM_STATE_COMPLETED) @@ -966,7 +966,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, we're using gets cleaned up and we're left with nothing. */ if(data->state.pipe_broke) { infof(data, "Pipe broke: handle 0x%p, url = %s\n", - easy, data->state.path); + (void *)easy, data->state.path); if(easy->state < CURLM_STATE_COMPLETED) { /* Head back to the CONNECT state */ |