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
1 changed files with 1 additions and 2 deletions

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