summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisundil <isundill@gmail.com>2015-10-01 22:53:34 +0200
committerisundil <isundill@gmail.com>2015-10-01 22:53:34 +0200
commitef1a09b87d5df7fcaeced70e09312c225d99c4b6 (patch)
treebfb57e5b892eb97bf7094cff369d7898f0bcfc51
parent6ca7dc68478772258dea114d29625dc2c87999f9 (diff)
downloadirssi-ef1a09b87d5df7fcaeced70e09312c225d99c4b6.zip
Fix return value of server_setup_remove_chatnet
-rw-r--r--src/core/servers-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index cd5fe406..771e3999 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -509,7 +509,7 @@ void server_setup_remove_chatnet(const char *chatnet)
{
GSList *tmp, *next;
- g_return_val_if_fail(chatnet != NULL, NULL);
+ g_return_if_fail(chatnet != NULL);
for (tmp = setupservers; tmp != NULL; tmp = next) {
SERVER_SETUP_REC *rec = tmp->data;