chiark / gitweb /
Use bus_maybe_send_reply() where applicable
[elogind.git] / src / locale / localed.c
index 4f85b8b583ddab7fb2e5bfaad5441cf4aa6a715e..60083b7681e89e7bbf69b2d9ce78b26e175f3f0e 100644 (file)
@@ -1277,7 +1277,7 @@ static DBusHandlerResult locale_message_handler(
         if (!(reply = dbus_message_new_method_return(message)))
                 goto oom;
 
-        if (!dbus_connection_send(connection, reply, NULL))
+        if (!bus_maybe_send_reply(connection, message, reply))
                 goto oom;
 
         dbus_message_unref(reply);