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:
parent
e948aaa4ba
commit
21c1e4e9f8
@ -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)
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user