summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1511.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib1511.c')
-rw-r--r--tests/libtest/lib1511.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib1511.c b/tests/libtest/lib1511.c
index a813f8968..82cb62974 100644
--- a/tests/libtest/lib1511.c
+++ b/tests/libtest/lib1511.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -58,7 +58,7 @@ int test(char *URL)
goto test_cleanup;
curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &unmet);
- if(unmet != 0L) {
+ if(unmet) {
res = TEST_ERR_FAILURE; /* not correct */
goto test_cleanup;
}