summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r--gatchat/gatchat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
index e85d9086..cfe21887 100644
--- a/gatchat/gatchat.c
+++ b/gatchat/gatchat.c
@@ -1085,7 +1085,7 @@ static gboolean at_chat_unregister(struct at_chat *chat, guint group, guint id)
node = l->data;
if (node->gid != group)
- continue;
+ return FALSE;
at_notify_node_destroy(node, NULL);
notify->nodes = g_slist_remove(notify->nodes, node);