chiark / gitweb /
systemctl: fix iteration in check_listening_sockets()
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 13 Jun 2012 15:47:51 +0000 (17:47 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 13 Jun 2012 16:42:02 +0000 (18:42 +0200)
src/systemctl/systemctl.c

index 77fc80b..0e6b2ec 100644 (file)
@@ -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)