systemctl: fix iteration in check_listening_sockets()

This commit is contained in:
Michal Schmidt 2012-06-13 17:47:51 +02:00
parent 31be1221a1
commit 222d0348f9
1 changed files with 1 additions and 2 deletions

View 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)