chiark / gitweb /
Use bus_maybe_send_reply() where applicable
[elogind.git] / src / login / logind-user-dbus.c
index ddf9d9d..5951c38 100644 (file)
@@ -304,7 +304,7 @@ static DBusHandlerResult user_message_dispatch(
         }
 
         if (reply) {
-                if (!dbus_connection_send(connection, reply, NULL))
+                if (!bus_maybe_send_reply(connection, message, reply))
                         goto oom;
 
                 dbus_message_unref(reply);