summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-06-13 17:47:51 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-06-13 18:42:02 +0200
commit222d0348f97aa132cc24ed3a38f18463e9b0e8c9 (patch)
tree5e7b65388c3d1bffc49546fd5614f552dd1a763e /src/systemctl/systemctl.c
parent31be1221a13a13fa1d5e82a44f07e2abfb8344c5 (diff)
systemctl: fix iteration in check_listening_sockets()
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 77fc80b244..0e6b2ec30c 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)