summaryrefslogtreecommitdiff
path: root/bus/stats.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-09-15 12:55:54 +0100
committerSimon McVittie <smcv@debian.org>2014-09-15 12:55:54 +0100
commit403920f796c3cbeca1bba58bda497da4770e7d0a (patch)
tree22c59d2418690f68e169ff7500b22f92d410f55f /bus/stats.c
parentd35dfa78f7ee90bebc3c8a290a7f5877feb7eb8b (diff)
downloaddbus-403920f796c3cbeca1bba58bda497da4770e7d0a.tar.gz
Imported Upstream version 1.8.8upstream/1.8.8
Diffstat (limited to 'bus/stats.c')
-rw-r--r--bus/stats.c4
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);