1
0
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:
Dan Fandrich 2014-01-30 23:18:20 +01:00
parent c631a54bb6
commit be9cc620b5

View File

@ -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);