[systemd-commits] src/list.h

Lennart Poettering lennart at kemper.freedesktop.org
Tue Sep 28 12:57:49 PDT 2010


 src/list.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 95e26a692d0af027a5fe83e1743e307c864b4af0
Author: Fabiano Fidencio <fidencio at profusion.mobi>
Date:   Mon Sep 27 18:34:56 2010 -0300

    list: Fixing typo in LIST_FIND_HEAD
    
    Just removing a parenthesis

diff --git a/src/list.h b/src/list.h
index 9380f36..e49d953 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)


More information about the systemd-commits mailing list