diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-09-02 22:40:10 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-09-02 22:40:10 +0200 |
commit | 21c1e4e9f80409b81cb3b8243c904ccf74d8d529 (patch) | |
tree | cb6fd9b9edd5faf04a39ee468ba5a4a5de38cf1c /src/core/misc.c | |
parent | e948aaa4bab4064e0ff492906bdd301a9a38799e (diff) | |
download | irssi-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.c | 2 |
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) |