summaryrefslogtreecommitdiff
path: root/src/core/misc.c
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2015-09-02 22:40:10 +0200
committerLemonBoy <thatlemon@gmail.com>2015-09-02 22:40:10 +0200
commit21c1e4e9f80409b81cb3b8243c904ccf74d8d529 (patch)
treecb6fd9b9edd5faf04a39ee468ba5a4a5de38cf1c /src/core/misc.c
parente948aaa4bab4064e0ff492906bdd301a9a38799e (diff)
downloadirssi-21c1e4e9f80409b81cb3b8243c904ccf74d8d529.zip
Fix two minor issues outlined in the PR#222
irc-cap.c has now a licence header. A minor style fix in misc.c
Diffstat (limited to 'src/core/misc.c')
-rw-r--r--src/core/misc.c2
1 files changed, 1 insertions, 1 deletions
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)