- while ((r = sd_bus_message_read(reply, "s", &name)) > 0)
- manager_dispatch_bus_name_owner_changed(m, name, NULL, name);
- if (r < 0)
- return bus_log_parse_error(r);
-
- r = sd_bus_message_exit_container(reply);
- if (r < 0)
- return bus_log_parse_error(r);
+ STRV_FOREACH(i, names)
+ manager_dispatch_bus_name_owner_changed(m, *i, NULL, *i);