From 21c1e4e9f80409b81cb3b8243c904ccf74d8d529 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Wed, 2 Sep 2015 22:40:10 +0200 Subject: Fix two minor issues outlined in the PR#222 irc-cap.c has now a licence header. A minor style fix in misc.c --- src/core/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/misc.c b/src/core/misc.c index 395e47ad..88c27255 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -215,7 +215,7 @@ void gslist_free_full (GSList *list, GDestroyNotify free_func) { GSList *tmp; - if (!list) + if (list == NULL) return; for (tmp = list; tmp != NULL; tmp = tmp->next) -- cgit v1.2.3