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

Merge pull request #275 from LemonBoy/cap-support-nitpicks

Fix two minor issues outlined in the PR#222
This commit is contained in:
Alexander Færøy 2015-09-09 22:51:40 +02:00
commit a8ec9aa3d8
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"