mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -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);
|
||||
if (!full_url) {
|
||||
fprintf(stderr, "Not enough memory for full url\n");
|
||||
res = CURLE_OUT_OF_MEMORY;
|
||||
goto test_cleanup;
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
sprintf(full_url, "%s%04d", url, seq);
|
||||
|
Loading…
Reference in New Issue
Block a user