modified lib533 to accept both URLs on the command line
authorDaniel Stenberg <daniel@haxx.se>
Sun, 8 Oct 2006 08:50:12 +0000 (08:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 8 Oct 2006 08:50:12 +0000 (08:50 +0000)
tests/data/test533
tests/libtest/lib533.c

index c760e05..578daf8 100644 (file)
@@ -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>
 
index 60ff9d0..e7e5967 100644 (file)
@@ -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 */