1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Fix two minor issues outlined in the PR#222

irc-cap.c has now a licence header.
A minor style fix in misc.c
This commit is contained in:
LemonBoy 2015-09-02 22:40:10 +02:00
parent e948aaa4ba
commit 21c1e4e9f8
2 changed files with 20 additions and 1 deletions

View File

@ -215,7 +215,7 @@ void gslist_free_full (GSList *list, GDestroyNotify free_func)
{ {
GSList *tmp; GSList *tmp;
if (!list) if (list == NULL)
return; return;
for (tmp = list; tmp != NULL; tmp = tmp->next) for (tmp = list; tmp != NULL; tmp = tmp->next)

View File

@ -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 "module.h"
#include "signals.h" #include "signals.h"
#include "misc.h" #include "misc.h"