diff options
author | taesub kim <taesub.kim@samsung.com> | 2017-03-23 16:45:32 +0900 |
---|---|---|
committer | taesub kim <taesub.kim@samsung.com> | 2017-03-23 16:46:02 +0900 |
commit | 24b9957402f17c422eeeb3386bf049feeb342e78 (patch) | |
tree | e260727dc080e910dfea79203509fdc4f32ed852 /tests/libtest/lib1526.c | |
parent | 88d478478059f53e6de0d1267c3a1e6b02c4273f (diff) | |
download | curl-24b9957402f17c422eeeb3386bf049feeb342e78.tar.gz curl-24b9957402f17c422eeeb3386bf049feeb342e78.tar.bz2 curl-24b9957402f17c422eeeb3386bf049feeb342e78.zip |
Imported Upstream version 7.53.1upstream/7.53.1
Change-Id: Id0454e17b6cb083c803c5497d34964dd8fa0dbc6
Diffstat (limited to 'tests/libtest/lib1526.c')
-rw-r--r-- | tests/libtest/lib1526.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libtest/lib1526.c b/tests/libtest/lib1526.c index ef66a484d..b2d2a4118 100644 --- a/tests/libtest/lib1526.c +++ b/tests/libtest/lib1526.c @@ -54,7 +54,8 @@ int test(char *URL) return TEST_ERR_MAJOR_BAD; } - if((curl = curl_easy_init()) == NULL) { + curl = curl_easy_init(); + if(!curl) { fprintf(stderr, "curl_easy_init() failed\n"); curl_global_cleanup(); return TEST_ERR_MAJOR_BAD; |