2012-03-27 10:33:45

by Jaganath Kanakkassery

[permalink] [raw]
Subject: [PATCH obexd 2/2] client: Call g_obex_abort_transfer() in obc_transfer_abort()

---
client/transfer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/transfer.c b/client/transfer.c
index 60c2e4f..f476680 100644
--- a/client/transfer.c
+++ b/client/transfer.c
@@ -144,7 +144,7 @@ static void obc_transfer_abort(struct obc_transfer *transfer)
struct transfer_callback *callback = transfer->callback;

if (transfer->xfer > 0) {
- g_obex_cancel_transfer(transfer->xfer);
+ g_obex_abort_transfer(transfer->xfer);
transfer->xfer = 0;
}

--
1.7.1