From: Dan Fandrich Date: Thu, 30 Jan 2014 22:18:20 +0000 (+0100) Subject: tests: make the authorization retry tests pass the torture tests X-Git-Tag: curl-7_36_0~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9cc620b5d658e12b2b0c04c43851b6ad114744;p=thirdparty%2Fcurl.git tests: make the authorization retry tests pass the torture tests --- diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c index 95761325ab..103a89c71d 100644 --- a/tests/libtest/libauthretry.c +++ b/tests/libtest/libauthretry.c @@ -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);