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) diff --git a/src/irc/core/irc-cap.c b/src/irc/core/irc-cap.c index c5bf4e67..cd3ae677 100644 --- a/src/irc/core/irc-cap.c +++ b/src/irc/core/irc-cap.c @@ -1,3 +1,22 @@ +/* irc-cap.c : irssi + + Copyright (C) 2015 The Lemon Man + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + #include "module.h" #include "signals.h" #include "misc.h"