From 222d0348f97aa132cc24ed3a38f18463e9b0e8c9 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Wed, 13 Jun 2012 17:47:51 +0200 Subject: [PATCH] systemctl: fix iteration in check_listening_sockets() --- src/systemctl/systemctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 77fc80b244c..0e6b2ec30c3 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1762,8 +1762,7 @@ static void check_listening_sockets( log_warning("%s", service_trigger); } next: - dbus_message_iter_recurse(&iter, &sub); - iter = sub; + dbus_message_iter_next(&sub); } finish: if (m)