diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2014-07-24 08:04:48 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-09-04 15:42:45 +0100 |
commit | e2a78c0951212a4f22f95cffe29aa96e11120050 (patch) | |
tree | c30793cbe0330978534ef0454c33900fd6aa3ff5 | |
parent | 8f31484171dbffea56600daf6b6be407bd79d759 (diff) | |
download | dbus-e2a78c0951212a4f22f95cffe29aa96e11120050.tar.gz |
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>
-rw-r--r-- | bus/stats.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bus/stats.c b/bus/stats.c index 2bf86d66..24308eb5 100644 --- a/bus/stats.c +++ b/bus/stats.c @@ -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); |