projects
/
platform
/
upstream
/
curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Imported Upstream version 7.53.1"
[platform/upstream/curl.git]
/
tests
/
libtest
/
lib590.c
diff --git
a/tests/libtest/lib590.c
b/tests/libtest/lib590.c
index
cc3afdf
..
7b863cc
100644
(file)
--- a/
tests/libtest/lib590.c
+++ b/
tests/libtest/lib590.c
@@
-46,8
+46,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;