mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-03 12:28:03 +02:00
Stats: fix compilation issue
Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=507232 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=81043 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
8f31484171
commit
e2a78c0951
1 changed files with 3 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ bus_stats_handle_get_stats (DBusConnection *connection,
|
|||
DBusMessage *message,
|
||||
DBusError *error)
|
||||
{
|
||||
BusContext *context;
|
||||
BusConnections *connections;
|
||||
DBusMessage *reply = NULL;
|
||||
DBusMessageIter iter, arr_iter;
|
||||
|
|
@ -48,7 +49,8 @@ bus_stats_handle_get_stats (DBusConnection *connection,
|
|||
|
||||
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
|
||||
|
||||
connections = bus_context_get_connections (transaction->context);
|
||||
context = bus_transaction_get_context (transaction);
|
||||
connections = bus_context_get_connections (context);
|
||||
|
||||
reply = _dbus_asv_new_method_return (message, &iter, &arr_iter);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue