aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-01-30 23:18:20 +0100
committerDan Fandrich <dan@coneharvesters.com>2014-01-30 23:18:20 +0100
commitbe9cc620b5d658e12b2b0c04c43851b6ad114744 (patch)
treee28b33cec9d32ebaef3c87b6b7a2f9d26aaf3feb /tests/libtest
parentc631a54bb60b2bbaf5085a679ce140330158d513 (diff)
tests: make the authorization retry tests pass the torture tests
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/libauthretry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c
index 95761325a..103a89c71 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);