diff --git a/lib/iqueue.h b/lib/iqueue.h index 3b4b4abe9..5cf0c4bb7 100644 --- a/lib/iqueue.h +++ b/lib/iqueue.h @@ -118,6 +118,7 @@ } \ else \ (list)->head = __link->link.next; \ + (list)->length--; \ } while (0)