OSDN Git Service

gobex: Really fix assert this time
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 2 Apr 2014 12:25:54 +0000 (15:25 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 2 Apr 2014 13:48:43 +0000 (16:48 +0300)
gobex/gobex.c

index 053102d..7f85938 100644 (file)
@@ -1017,7 +1017,7 @@ 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);
+       g_source_remove(p->timeout_id);
        p->timeout_id = 0;
        obex->pending_req = NULL;
        g_obex_send_internal(obex, p, NULL);