diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-07-29 10:45:43 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-07-29 10:46:27 +0100 |
commit | 1763e02bd67701ae7b5cded655708ca649e7e071 (patch) | |
tree | 9732f5f300d5500f9aee5dedfa0e9d91b9c7f93c /bus/stats.c | |
parent | 7953ca2f81102785f0a7ebac8e4e5789391c79f3 (diff) |
Fix compilation for removal of link cache
Diffstat (limited to 'bus/stats.c')
-rw-r--r-- | bus/stats.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bus/stats.c b/bus/stats.c index 4e7288596..28fd49ba3 100644 --- a/bus/stats.c +++ b/bus/stats.c @@ -263,7 +263,6 @@ bus_stats_handle_get_connection_stats (DBusConnection *caller_connection, static dbus_uint32_t stats_serial = 0; dbus_uint32_t in_messages, in_bytes, in_fds, in_peak_bytes, in_peak_fds; dbus_uint32_t out_messages, out_bytes, out_fds, out_peak_bytes, out_peak_fds; - dbus_uint32_t link_cache_bytes; BusRegistry *registry; BusService *service; DBusConnection *stats_connection; @@ -316,8 +315,7 @@ bus_stats_handle_get_connection_stats (DBusConnection *caller_connection, &in_messages, &in_bytes, &in_fds, &in_peak_bytes, &in_peak_fds, &out_messages, &out_bytes, &out_fds, - &out_peak_bytes, &out_peak_fds, - &link_cache_bytes); + &out_peak_bytes, &out_peak_fds); if (!asv_add_uint32 (&iter, &arr_iter, "IncomingMessages", in_messages) || !asv_add_uint32 (&iter, &arr_iter, "IncomingBytes", in_bytes) || @@ -328,8 +326,7 @@ bus_stats_handle_get_connection_stats (DBusConnection *caller_connection, !asv_add_uint32 (&iter, &arr_iter, "OutgoingBytes", out_bytes) || !asv_add_uint32 (&iter, &arr_iter, "OutgoingFDs", out_fds) || !asv_add_uint32 (&iter, &arr_iter, "PeakOutgoingBytes", out_peak_bytes) || - !asv_add_uint32 (&iter, &arr_iter, "PeakOutgoingFDs", out_peak_fds) || - !asv_add_uint32 (&iter, &arr_iter, "LinkCacheBytes", link_cache_bytes)) + !asv_add_uint32 (&iter, &arr_iter, "PeakOutgoingFDs", out_peak_fds)) goto oom; /* end */ |