summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gobex/gobex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobex/gobex.c b/gobex/gobex.c
index 850e288af..887e2a241 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;
}