summaryrefslogtreecommitdiff
path: root/obexd/src
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-08-19 17:12:04 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-09-09 17:35:30 +0300
commit6972187adff9efe1265bd39833b5400061b3bb7e (patch)
tree6d53fa929a59669808a3b5b322018b3f3ea0af05 /obexd/src
parent8bcf8f1c0e1f9b210a8f6e96b085e69dfaf5db4b (diff)
downloadbluez-6972187adff9efe1265bd39833b5400061b3bb7e.tar.gz
obexd: Make use of g_dbus_send_message*
This replaces dbus_connection_send* with g_dbus_send_message* which do not alter message order.
Diffstat (limited to 'obexd/src')
-rw-r--r--obexd/src/manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index dbfbef898..f64b7b938 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -776,8 +776,7 @@ int manager_request_authorization(struct obex_transfer *transfer, int32_t time,
dbus_message_append_args(msg, DBUS_TYPE_OBJECT_PATH, &transfer->path,
DBUS_TYPE_INVALID);
- if (!dbus_connection_send_with_reply(connection,
- msg, &call, TIMEOUT)) {
+ if (!g_dbus_send_message_with_reply(connection, msg, &call, TIMEOUT)) {
dbus_message_unref(msg);
return -EPERM;
}