summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-05-12 20:40:22 -0300
committerVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-05-13 10:02:26 -0300
commit605eb7048e63a729bc469df094bd80205a65d509 (patch)
tree85da9681dbe4eabbe74b0a472ce4673d70a0cc8d /client
parenta8af29543b54d8e873dda8f620621ec41dfe8586 (diff)
downloadobexd-605eb7048e63a729bc469df094bd80205a65d509.tar.gz
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.
Diffstat (limited to 'client')
-rw-r--r--client/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/main.c b/client/main.c
index 7a2113d..71afb40 100644
--- a/client/main.c
+++ b/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);