From: Fabiano Fidencio Date: Mon, 27 Sep 2010 21:34:56 +0000 (-0300) Subject: list: Fixing typo in LIST_FIND_HEAD X-Git-Tag: v11~43 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=95e26a692d0af027a5fe83e1743e307c864b4af0 list: Fixing typo in LIST_FIND_HEAD Just removing a parenthesis --- diff --git a/src/list.h b/src/list.h index 9380f362f..e49d953d0 100644 --- a/src/list.h +++ b/src/list.h @@ -77,7 +77,7 @@ do { \ t *_item = (item); \ assert(_item); \ - while ((_item->name##_prev) \ + while (_item->name##_prev) \ _item = _item->name##_prev; \ (head) = _item; \ } while (false)