1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04: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,9 +51,10 @@ int test(char *URL)
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 */
test_setopt(c, CURLOPT_PROXY, libtest_arg2);
if (libtest_arg2)
test_setopt(c, CURLOPT_PROXY, libtest_arg2);
test_setopt(c, CURLOPT_URL, URL);
test_setopt(c, CURLOPT_VERBOSE, 1L);