Diff between 4899119cb29be10a78d21b8ab81f348eda38d7aa and 021712264c6890667d47b96c45890f5109170fe5

Changed Files

File Additions Deletions Status
gobex/gobex.c +1 -1 modified

Full Patch

diff --git a/gobex/gobex.c b/gobex/gobex.c
index 850e288..887e2a2 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -1113,7 +1113,7 @@ static void handle_response(GObex *obex, GError *err, GObexPacket *rsp)
 		p->rsp_func(obex, err, rsp, p->rsp_data);
 
 		/* Check if user callback removed the request */
-		if (p != obex->pending_req)
+		if (!final_rsp && p != obex->pending_req)
 			return;
 	}