diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-03-30 11:40:34 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2010-03-30 11:40:34 -0700 |
commit | 643ae2ca8b5ae66de22f8cadc54e8625e84a4dd2 (patch) | |
tree | e270bccf382bb211083b2be6dce26733bcb22aed | |
parent | d1837ad90a31bb70be4d44b4f745ae696e21e972 (diff) |
Allow test 538 to run even when proxy support is disabled
-rw-r--r-- | tests/libtest/lib504.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index 418da2f8c..b8091f66a 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -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); |