mirror of
https://github.com/curl/curl.git
synced 2026-04-15 05:11:41 +03:00
fixes
This commit is contained in:
parent
f31365d6e9
commit
ccc5ef07ab
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ static void parse_success(const struct tcase *t)
|
|||
in_consumed += nread;
|
||||
if(nread != buflen) {
|
||||
if(!p.done) {
|
||||
curl_mfprintf(stderr, "only %zd/%zu consumed for: '%s'\n",
|
||||
curl_mfprintf(stderr, "only %zu/%zu consumed for: '%s'\n",
|
||||
nread, buflen, buf);
|
||||
fail("not all consumed");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ static CURLcode test_unit2604(const char *arg)
|
|||
char *path;
|
||||
const char *cp = i == 0 ? cp0 : list[i].cp;
|
||||
CURLcode result = Curl_get_pathname(&cp, &path, list[i].home);
|
||||
curl_mprintf("%u - Curl_get_pathname(\"%s\", ... \"%s\") == %u\n", i,
|
||||
curl_mprintf("%d - Curl_get_pathname(\"%s\", ... \"%s\") == %d\n", i,
|
||||
list[i].cp, list[i].home, list[i].result);
|
||||
if(result != list[i].result) {
|
||||
curl_mprintf("... returned %d\n", result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue