1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 21:45:13 -05:00

Allow test 538 to run even when proxy support is disabled

This commit is contained in:
Dan Fandrich 2010-03-30 11:40:34 -07:00
parent d1837ad90a
commit 643ae2ca8b

View File

@ -51,8 +51,9 @@ int test(char *URL)
return TEST_ERR_MAJOR_BAD; return TEST_ERR_MAJOR_BAD;
} }
/* the point here being that there must not run anything on the given /* The point here is that there must not be anything running on the given
proxy port */ proxy port */
if (libtest_arg2)
test_setopt(c, CURLOPT_PROXY, libtest_arg2); test_setopt(c, CURLOPT_PROXY, libtest_arg2);
test_setopt(c, CURLOPT_URL, URL); test_setopt(c, CURLOPT_URL, URL);
test_setopt(c, CURLOPT_VERBOSE, 1L); test_setopt(c, CURLOPT_VERBOSE, 1L);