Explorar o código

Fix stupid typo

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
36f4658a4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/list.h

+ 1 - 1
src/common/list.h

@@ -271,7 +271,7 @@ static inline int ENAME##_multilist_queued_##MEMBER(TYPE *e) { \
 \
 /* Test whether the list is empty.  */ \
 static inline int ENAME##_multilist_empty_##MEMBER(struct ENAME##_multilist_##MEMBER *head) { \
-	return head->next != head; \
+	return head->next == head; \
 } \
 \
 /* Return the first element of the list.  */ \