mirror of
https://github.com/curl/curl.git
synced 2026-05-04 19:10:01 +03:00
fixes
This commit is contained in:
parent
fd77e84f0e
commit
8f3e83b8a1
5 changed files with 9 additions and 8 deletions
|
|
@ -129,7 +129,7 @@ static CURLcode test_lib1565(const char *URL)
|
|||
}
|
||||
else {
|
||||
curl_mfprintf(stderr,
|
||||
"%s:%d Got an unexpected message from curl: %i\n",
|
||||
"%s:%d Got an unexpected message from curl: %d\n",
|
||||
__FILE__, __LINE__, message->msg);
|
||||
result = TEST_ERR_MAJOR_BAD;
|
||||
goto test_cleanup;
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ static CURLcode test_lib1597(const char *URL)
|
|||
break;
|
||||
}
|
||||
}
|
||||
curl_mprintf("Tested %u strings\n", i);
|
||||
curl_mprintf("Tested %d strings\n", i);
|
||||
|
||||
test_cleanup:
|
||||
curl_easy_cleanup(curl);
|
||||
|
|
|
|||
|
|
@ -37,11 +37,11 @@ static CURLcode test_lib1918(const char *URL)
|
|||
curl_easy_option_by_id(o->id);
|
||||
|
||||
if(ename->id != o->id) {
|
||||
curl_mprintf("name lookup id %d does not match %d\n",
|
||||
curl_mprintf("name lookup id %u does not match %u\n",
|
||||
ename->id, o->id);
|
||||
}
|
||||
else if(eid->id != o->id) {
|
||||
curl_mprintf("ID lookup %d does not match %d\n",
|
||||
curl_mprintf("ID lookup %u does not match %u\n",
|
||||
ename->id, o->id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ static CURLcode test_lib1947(const char *URL)
|
|||
if(h)
|
||||
count++;
|
||||
} while(h);
|
||||
curl_mprintf("count = %u\n", count);
|
||||
curl_mprintf("count = %d\n", count);
|
||||
|
||||
/* perform another request - without redirect */
|
||||
easy_setopt(curl, CURLOPT_URL, libtest_arg2);
|
||||
|
|
@ -81,7 +81,7 @@ static CURLcode test_lib1947(const char *URL)
|
|||
if(h)
|
||||
count++;
|
||||
} while(h);
|
||||
curl_mprintf("count = %u\n", count);
|
||||
curl_mprintf("count = %d\n", count);
|
||||
|
||||
test_cleanup:
|
||||
curl_easy_cleanup(curl);
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ static CURLcode test_lib2032(const char *URL) /* libntlmconnect */
|
|||
multi_perform(multi, &running);
|
||||
|
||||
curl_mfprintf(stderr, "%s:%d running %d state %d\n",
|
||||
__FILE__, __LINE__, running, state);
|
||||
__FILE__, __LINE__, running, (int)state);
|
||||
|
||||
abort_on_test_timeout();
|
||||
|
||||
|
|
@ -177,7 +177,8 @@ static CURLcode test_lib2032(const char *URL) /* libntlmconnect */
|
|||
}
|
||||
state =
|
||||
num_handles < MAX_EASY_HANDLES ? ReadyForNewHandle : NoMoreHandles;
|
||||
curl_mfprintf(stderr, "%s:%d new state %d\n", __FILE__, __LINE__, state);
|
||||
curl_mfprintf(stderr, "%s:%d new state %d\n",
|
||||
__FILE__, __LINE__, (int)state);
|
||||
}
|
||||
|
||||
multi_timeout(multi, &timeout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue