From 2c62dfd1248d0313c582f686acdd1d0f4641171a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 8 Oct 2006 08:50:12 +0000 Subject: modified lib533 to accept both URLs on the command line --- tests/data/test533 | 2 +- tests/libtest/lib533.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -ftp://%HOSTIP:%FTPPORT/path/533 +ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533 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 */ -- cgit v1.2.3