summaryrefslogtreecommitdiff
path: root/tests/unit/unit1309.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1309.c')
-rw-r--r--tests/unit/unit1309.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unit1309.c b/tests/unit/unit1309.c
index 5a2c154b0..91eb04090 100644
--- a/tests/unit/unit1309.c
+++ b/tests/unit/unit1309.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
@@ -40,7 +40,7 @@ static void splayprint(struct Curl_tree *t, int d, char output)
struct Curl_tree *node;
int i;
int count;
- if(t == NULL)
+ if(!t)
return;
splayprint(t->larger, d + 1, output);