mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
tests: make the authorization retry tests pass the torture tests
This commit is contained in:
parent
c631a54bb6
commit
be9cc620b5
@ -35,8 +35,7 @@ static CURLcode send_request(CURL *curl, const char *url, int seq,
|
|||||||
char* full_url = malloc(strlen(url) + 4 + 1);
|
char* full_url = malloc(strlen(url) + 4 + 1);
|
||||||
if (!full_url) {
|
if (!full_url) {
|
||||||
fprintf(stderr, "Not enough memory for full url\n");
|
fprintf(stderr, "Not enough memory for full url\n");
|
||||||
res = CURLE_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
goto test_cleanup;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(full_url, "%s%04d", url, seq);
|
sprintf(full_url, "%s%04d", url, seq);
|
||||||
|
Loading…
Reference in New Issue
Block a user