From c3f7df1042d606825aea27d1d4a87eb14d493a6d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 21 Dec 2012 22:20:10 +0200 Subject: [PATCH] obexd: Update Authorize call to AuthorizePush API --- obexd/src/manager.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/obexd/src/manager.c b/obexd/src/manager.c index 83d22b5b3..e53c13320 100644 --- a/obexd/src/manager.c +++ b/obexd/src/manager.c @@ -734,16 +734,11 @@ int manager_request_authorization(struct obex_transfer *transfer, int32_t time, return err; msg = dbus_message_new_method_call(agent->bus_name, agent->path, - AGENT_INTERFACE, "Authorize"); - - dbus_message_append_args(msg, - DBUS_TYPE_OBJECT_PATH, &transfer->path, - DBUS_TYPE_STRING, &address, - DBUS_TYPE_STRING, &filename, - DBUS_TYPE_STRING, &type, - DBUS_TYPE_INT32, &os->size, - DBUS_TYPE_INT32, &time, - DBUS_TYPE_INVALID); + AGENT_INTERFACE, + "AuthorizePush"); + + dbus_message_append_args(msg, DBUS_TYPE_OBJECT_PATH, &transfer->path, + DBUS_TYPE_INVALID); g_free(address); -- 2.47.3