[PATCH obexd 1/5] Use correct variable for setting response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/obex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/obex.c b/src/obex.c
index e6585ca..064fe4b 100644
--- a/src/obex.c
+++ b/src/obex.c
@@ -693,7 +693,7 @@ static gboolean handle_async_io(void *object, int flags, int err,
 
 proceed:
 	if (ret < 0) {
-		os_set_response(os->obj, err);
+		os_set_response(os->obj, ret);
 		OBEX_CancelRequest(os->obex, TRUE);
 	} else
 		OBEX_ResumeRequest(os->obex);
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux