diff options
Diffstat (limited to 'tests/libtest/lib1535.c')
-rw-r--r-- | tests/libtest/lib1535.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/libtest/lib1535.c b/tests/libtest/lib1535.c index b448466dd..2a64242eb 100644 --- a/tests/libtest/lib1535.c +++ b/tests/libtest/lib1535.c @@ -5,11 +5,11 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * 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 - * are also available at https://curl.haxx.se/docs/copyright.html. + * are also available at https://curl.se/docs/copyright.html. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is @@ -44,7 +44,7 @@ int test(char *URL) __FILE__, __LINE__, res, curl_easy_strerror(res)); goto test_cleanup; } - if(protocol != 0) { + if(protocol) { fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", __FILE__, __LINE__, protocol); res = CURLE_FAILED_INIT; @@ -94,7 +94,7 @@ int test(char *URL) __FILE__, __LINE__, res, curl_easy_strerror(res)); goto test_cleanup; } - if(protocol != 0) { + if(protocol) { fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", __FILE__, __LINE__, protocol); res = CURLE_FAILED_INIT; @@ -113,7 +113,7 @@ int test(char *URL) __FILE__, __LINE__, res, curl_easy_strerror(res)); goto test_cleanup; } - if(protocol != 0) { + if(protocol) { fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", __FILE__, __LINE__, protocol); res = CURLE_FAILED_INIT; |