From 1a6def174f62a2fe70e52301c5afc3de4c6e2396 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Wed, 12 May 2010 20:40:22 -0300 Subject: [PATCH] obexd: Fix sending the reply for pull requests too early This reply was being sent too early and it was being sent on the complete callback anyway. This was causing the sender to exit the bus too soon. Which was causing the daemon to close the connection. --- obexd/client/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/obexd/client/main.c b/obexd/client/main.c index 7a2113d3d..71afb407a 100644 --- a/obexd/client/main.c +++ b/obexd/client/main.c @@ -268,7 +268,6 @@ static void pull_session_callback(struct session_data *session, } session_set_owner(session, data->sender, owner_exit); - g_dbus_send_reply(data->connection, data->message, DBUS_TYPE_INVALID); session_pull(session, "text/x-vcard", "/tmp/x.vcf", pull_complete_callback, data); -- 2.47.3