summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;