summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2015-09-09 22:51:40 +0200
committerAlexander Færøy <ahf@0x90.dk>2015-09-09 22:51:40 +0200
commita8ec9aa3d88f39ba6963eb239a36bb961fca47bb (patch)
treecb6fd9b9edd5faf04a39ee468ba5a4a5de38cf1c /src
parente948aaa4bab4064e0ff492906bdd301a9a38799e (diff)
parent21c1e4e9f80409b81cb3b8243c904ccf74d8d529 (diff)
downloadirssi-a8ec9aa3d88f39ba6963eb239a36bb961fca47bb.zip
Merge pull request #275 from LemonBoy/cap-support-nitpicks
Fix two minor issues outlined in the PR#222
Diffstat (limited to 'src')
-rw-r--r--src/core/misc.c2
-rw-r--r--src/irc/core/irc-cap.c19
2 files changed, 20 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)
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"