diff options
Diffstat (limited to 'tests/libtest/lib510.c')
-rw-r--r-- | tests/libtest/lib510.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib510.c b/tests/libtest/lib510.c index 21919b101..b3dd0ab84 100644 --- a/tests/libtest/lib510.c +++ b/tests/libtest/lib510.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 @@ -80,7 +80,7 @@ int test(char *URL) } slist = curl_slist_append(slist, "Transfer-Encoding: chunked"); - if(slist == NULL) { + if(!slist) { fprintf(stderr, "curl_slist_append() failed\n"); curl_easy_cleanup(curl); curl_global_cleanup(); |