Diff between cbf8891907d2af6468ce712f5fecc2530faa3d3c and c3f7df1042d606825aea27d1d4a87eb14d493a6d

Changed Files

File Additions Deletions Status
obexd/src/manager.c +5 -10 modified

Full Patch

diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index 83d22b5..e53c133 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);