bugfix (thanks to Philippe Valembois)

This commit is contained in:
Olaf Bergmann committed 2011-11-02 17:29:08 +01:00
1 parent 76271e1cbf
commit f7ee04e790
1 file changed
+1 -1
+1 -1
View File
@@ -505,7 +505,7 @@ coap_remove_from_queue(coap_queue_t **queue, coap_tid_t id, coap_queue_t **node)
do {
p = q;
q = q->next;
} while ( q && id == q->id );
} while ( q && id != q->id );
if ( q ) { /* found transaction */
p->next = q->next;