From f7ee04e79097abb83da6181f1259c3205ac3222b Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 2 Nov 2011 17:29:08 +0100 Subject: [PATCH] bugfix (thanks to Philippe Valembois) --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index 51e0d2ac..f4668279 100644 --- a/net.c +++ b/net.c @@ -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;