X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-unit.c;h=b6f5c398100aaf7fd66e89890c2894fab10eb75f;hb=accdd018ede77ef1c057775396c18c73406cbcb4;hp=4cd3a13fd2c9f68e3a31792f16b7dda90932661a;hpb=52990c2e0eabd1c11280f553f858062d4165b92f;p=elogind.git diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 4cd3a13fd..b6f5c3981 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -627,7 +627,7 @@ void bus_unit_send_change_signal(Unit *u) { assert(u); if (u->in_dbus_queue) { - LIST_REMOVE(Unit, dbus_queue, u->manager->dbus_unit_queue, u); + LIST_REMOVE(dbus_queue, u->manager->dbus_unit_queue, u); u->in_dbus_queue = false; } @@ -801,7 +801,7 @@ DBusHandlerResult bus_unit_queue_job( if (!cl) goto oom; - LIST_PREPEND(JobBusClient, client, j->bus_client_list, cl); + LIST_PREPEND(client, j->bus_client_list, cl); reply = dbus_message_new_method_return(message); if (!reply) @@ -981,7 +981,7 @@ int bus_unit_set_properties( if (dbus_message_iter_get_arg_type(&sub) == DBUS_TYPE_INVALID) { - if (for_real) + if (for_real || mode == UNIT_CHECK) break; /* Reached EOF. Let's try again, and this time for realz... */