diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-07-19 10:04:40 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-08-22 18:17:49 +0100 |
commit | 46af309cf5e3f4a0a8c773461b65a7bacb9e87e0 (patch) | |
tree | a2b0e5c0efc75ffcd3a212b73bb1b5948429257e /bus/stats.c | |
parent | eca135456b5a8f695fdcd31769cdd475885236f5 (diff) | |
download | dbus-46af309cf5e3f4a0a8c773461b65a7bacb9e87e0.tar.gz dbus-46af309cf5e3f4a0a8c773461b65a7bacb9e87e0.tar.bz2 dbus-46af309cf5e3f4a0a8c773461b65a7bacb9e87e0.zip |
Fix build with "--enable-stats"
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/stats.c')
-rw-r--r-- | bus/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/stats.c b/bus/stats.c index 0c71a549..ec768ec7 100644 --- a/bus/stats.c +++ b/bus/stats.c @@ -165,7 +165,7 @@ bus_stats_handle_get_connection_stats (DBusConnection *caller_connection, bus_connection_get_n_services_owned (stats_connection)) || !_dbus_asv_add_uint32 (&arr_iter, "PeakBusNames", bus_connection_get_peak_bus_names (stats_connection)) || - !_dbus_asv_add_uint32 (&arr_iter, "UniqueName", + !_dbus_asv_add_string (&arr_iter, "UniqueName", bus_connection_get_name (stats_connection))) { _dbus_asv_abandon (&iter, &arr_iter); |