diff options
Diffstat (limited to 'tests/libtest/lib1532.c')
-rw-r--r-- | tests/libtest/lib1532.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib1532.c b/tests/libtest/lib1532.c index 4a3ff3245..395732122 100644 --- a/tests/libtest/lib1532.c +++ b/tests/libtest/lib1532.c @@ -5,11 +5,11 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, 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 @@ -66,7 +66,7 @@ int test(char *URL) __FILE__, __LINE__, res, curl_easy_strerror(res)); goto test_cleanup; } - if(httpcode != 0) { + if(httpcode) { fprintf(stderr, "%s:%d curl_easy_reset failed to zero the response code\n" "possible regression of github bug 1017\n", __FILE__, __LINE__); res = CURLE_HTTP_RETURNED_ERROR; |