diff --git a/tests/data/test533 b/tests/data/test533 index c760e05e8fde50beedfe840670036db69646e04f..578daf8ce195ed99abff95a1912eab7c21f5c487 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 60ff9d0eb7496bf1a526105f47f73b49835177e0..e7e59677eefd06b104510abcbb0c41451b489ce4 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 */