diff options
Diffstat (limited to 'lib/llist.c')
-rw-r--r-- | lib/llist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/llist.c b/lib/llist.c index 0aecf1083..a302e32d5 100644 --- a/lib/llist.c +++ b/lib/llist.c @@ -46,7 +46,7 @@ Curl_llist_alloc(curl_llist_dtor dtor) struct curl_llist *list; list = malloc(sizeof(struct curl_llist)); - if(NULL == list) + if(!list) return NULL; llist_init(list, dtor); |