diff options
Diffstat (limited to 'tests/libtest/lib556.c')
-rw-r--r-- | tests/libtest/lib556.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c index 1466e40c0..26ae30ccd 100644 --- a/tests/libtest/lib556.c +++ b/tests/libtest/lib556.c @@ -39,8 +39,8 @@ int test(char *URL) return TEST_ERR_MAJOR_BAD; } - curl_easy_setopt(curl, CURLOPT_URL, URL); - curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 1L); + test_setopt(curl, CURLOPT_URL, URL); + test_setopt(curl, CURLOPT_CONNECT_ONLY, 1L); res = curl_easy_perform(curl); @@ -82,6 +82,7 @@ int test(char *URL) } } +test_cleanup: curl_easy_cleanup(curl); curl_global_cleanup(); |