chiark / gitweb /
Use bus_maybe_send_reply() where applicable
[elogind.git] / src / login / logind-seat-dbus.c
index 7833d70a03425e8c8aa2025501afc79c73a2dee4..4da076e369af2efa5711c6f41e522e78894c3c55 100644 (file)
@@ -310,7 +310,7 @@ static DBusHandlerResult seat_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);