diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-09-06 13:48:38 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-13 12:35:00 +0100 |
commit | 37df7c316bf2ab4ed3a64910fc0030c095f7b5ab (patch) | |
tree | 9ba203cf6cba76c451bfaf366d9f3b9b1523bd8c /dbus/dbus-connection.c | |
parent | a548141b172a078dd0073d718da3fb655821860a (diff) | |
download | dbus-37df7c316bf2ab4ed3a64910fc0030c095f7b5ab.tar.gz |
Use the argument of dbus_connection_set_route_peer_messages()
The function dbus_connection_set_route_peer_messages() take a bool
argument, however, in the implementation, it always hard-code to TRUE
rather than take its bool argument.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69165
[amended commit message -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'dbus/dbus-connection.c')
-rw-r--r-- | dbus/dbus-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 66315b3f..b175a445 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -5435,7 +5435,7 @@ dbus_connection_set_route_peer_messages (DBusConnection *connection, _dbus_return_if_fail (connection != NULL); CONNECTION_LOCK (connection); - connection->route_peer_messages = TRUE; + connection->route_peer_messages = value; CONNECTION_UNLOCK (connection); } |