Revert "Imported Upstream version 7.53.1"
[platform/upstream/curl.git] / tests / libtest / lib1527.c
index 5dec7fc..f008cf1 100644 (file)
@@ -55,8 +55,7 @@ int test(char *URL)
     return TEST_ERR_MAJOR_BAD;
   }
 
-  curl = curl_easy_init();
-  if(!curl) {
+  if((curl = curl_easy_init()) == NULL) {
     fprintf(stderr, "curl_easy_init() failed\n");
     curl_global_cleanup();
     return TEST_ERR_MAJOR_BAD;