diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-08-19 17:12:04 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-09-09 17:35:30 +0300 |
commit | 6972187adff9efe1265bd39833b5400061b3bb7e (patch) | |
tree | 6d53fa929a59669808a3b5b322018b3f3ea0af05 /obexd/src | |
parent | 8bcf8f1c0e1f9b210a8f6e96b085e69dfaf5db4b (diff) | |
download | bluez-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.c | 3 |
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; } |