From: Daniel Stenberg Date: Sun, 8 Oct 2006 08:50:12 +0000 (+0000) Subject: modified lib533 to accept both URLs on the command line X-Git-Tag: upstream/7.37.1~9972 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c62dfd1248d0313c582f686acdd1d0f4641171a;p=platform%2Fupstream%2Fcurl.git modified lib533 to accept both URLs on the command line --- diff --git a/tests/data/test533 b/tests/data/test533 index c760e05..578daf8 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 60ff9d0..e7e5967 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 */