mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
typecast to int when printfing CURLcode
This commit is contained in:
parent
37817667e2
commit
b2cff76722
@ -106,7 +106,7 @@ void *fire(void *ptr)
|
|||||||
code = curl_easy_perform(curl);
|
code = curl_easy_perform(curl);
|
||||||
if( code != CURLE_OK ) {
|
if( code != CURLE_OK ) {
|
||||||
fprintf(stderr, "perform url '%s' repeat %d failed, curlcode %d\n",
|
fprintf(stderr, "perform url '%s' repeat %d failed, curlcode %d\n",
|
||||||
tdata->url, i, code);
|
tdata->url, i, (int)code);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf( "CLEANUP\n" );
|
printf( "CLEANUP\n" );
|
||||||
|
Loading…
Reference in New Issue
Block a user