diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-10-08 08:50:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-10-08 08:50:12 +0000 |
commit | 2c62dfd1248d0313c582f686acdd1d0f4641171a (patch) | |
tree | 9611c3abcd801ec809c6d87d8a2adeef4c17ae1d /tests | |
parent | ef66497a0d6ec2b7136e16f22a61a91e660ce9f9 (diff) |
modified lib533 to accept both URLs on the command line
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test533 | 2 | ||||
-rw-r--r-- | tests/libtest/lib533.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test533 b/tests/data/test533 index c760e05e8..578daf8ce 100644 --- a/tests/data/test533 +++ b/tests/data/test533 @@ -28,7 +28,7 @@ lib533 FTP RETR a non-existing file twice using the multi interface </name> <command> -ftp://%HOSTIP:%FTPPORT/path/533 +ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533 </command> </client> diff --git a/tests/libtest/lib533.c b/tests/libtest/lib533.c index 60ff9d0eb..e7e59677e 100644 --- a/tests/libtest/lib533.c +++ b/tests/libtest/lib533.c @@ -61,7 +61,7 @@ int test(char *URL) /* make us re-use the same handle all the time, and try resetting the handle first too */ curl_easy_reset(curl); - curl_easy_setopt(curl, CURLOPT_URL, URL); + curl_easy_setopt(curl, CURLOPT_URL, arg2); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); /* re-add it */ |