Revert "Imported Upstream version 7.53.1"
[platform/upstream/curl.git] / tests / libtest / lib1515.c
index 7763c22..2fd19bb 100644 (file)
@@ -113,7 +113,7 @@ test_cleanup:
 
 int test(char *URL)
 {
-  CURLM *multi = NULL;
+  CURLMmulti = NULL;
   int res = 0;
   char *address = libtest_arg2;
   char *port = libtest_arg3;
@@ -136,8 +136,7 @@ int test(char *URL)
              "http://testserver.example.com:%s/%s%04d", port, path, i);
 
     /* second request must succeed like the first one */
-    res = do_one_request(multi, target_url, dns_entry);
-    if(res)
+    if((res = do_one_request(multi, target_url, dns_entry)))
       goto test_cleanup;
 
     if(i < count)