Diff between ccd67f611c7f22bee09437deec0f5c2653d5c94c and ac93ba0e4465b248ffbb9c23a1582d52f69edda1

Changed Files

File Additions Deletions Status
gobex/gobex.c +2 -0 modified

Full Patch

diff --git a/gobex/gobex.c b/gobex/gobex.c
index 880ed91..4185ed1 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -1016,6 +1016,8 @@ static void auth_challenge(GObex *obex)
 
 	/* Remove it as pending and add it back to the queue so it gets sent
 	 * again */
+	g_source_remove(p->timeout);
+	p->timeout_id = 0;
 	obex->pending_req = NULL;
 	g_obex_send_internal(obex, p, NULL);
 }