summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-13 22:19:43 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-04-13 22:19:43 +0200
commitd3e4c9c49a4baaf568ff8955ce42bafbcede8f8f (patch)
tree4a394ed9be03f14e2effbcb7f77e4876bcd021d2
parent97555b09dfe9af258eda343373837c0c88d54475 (diff)
downloadconnman-d3e4c9c49a4baaf568ff8955ce42bafbcede8f8f.tar.gz
connman-d3e4c9c49a4baaf568ff8955ce42bafbcede8f8f.tar.bz2
connman-d3e4c9c49a4baaf568ff8955ce42bafbcede8f8f.zip
Fix infinite loop for service lookup
-rw-r--r--src/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profile.c b/src/profile.c
index db108285..2afba3fe 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -327,6 +327,8 @@ static struct connman_group *lookup_group(const char *name)
if (g_strcmp0(group->id, name) == 0)
goto done;
+
+ iter = g_sequence_iter_next(iter);
}
group = g_try_new0(struct connman_group, 1);