Andy Cedilnik 23 лет назад
Родитель
Сommit
6f0266407b
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      Source/CTest/Curl/Testing/curltest.c

+ 4 - 4
Source/CTest/Curl/Testing/curltest.c

@@ -43,22 +43,22 @@ int GetWebFile(void)
     curl_easy_setopt(curl, CURLOPT_HEADER, 1);
 
     /* get the first document */
-    curl_easy_setopt(curl, CURLOPT_URL, "http://www.cmake.org/HTML/Sponsors.html");
+    curl_easy_setopt(curl, CURLOPT_URL, "http://www.cmake.org/page1.html");
     res = curl_easy_perform(curl);
     if ( res != 0 )
       {
-      printf("Error fetching: http://www.cmake.org/HTML/Sponsors.html\n");
+      printf("Error fetching: http://www.cmake.org/page1.html\n");
       retVal = 1;
       }
 
 
     /* get another document from the same server using the same
        connection */
-    curl_easy_setopt(curl, CURLOPT_URL, "http://www.cmake.org/HTML/Index.html");
+    curl_easy_setopt(curl, CURLOPT_URL, "http://www.cmake.org/page2.html");
     res = curl_easy_perform(curl);
     if ( res != 0 )
       {
-      printf("Error fetching: http://www.cmake.org/HTML/Index.html\n");
+      printf("Error fetching: http://www.cmake.org/page2.html\n");
       retVal = 1;
       }