Browse Source

Forgot to add argument for next field to LL_APPEND_ELEM2

Thilo Schulz 9 years ago
parent
commit
414f785879
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utlist.h

+ 1 - 1
src/utlist.h

@@ -506,7 +506,7 @@ do {
 #define LL_PREPEND_ELEM(head, el, add)                                                         \
     LL_PREPEND_ELEM2(head, el, add, next)
 
-#define LL_APPEND_ELEM2(head, el, add)                                                         \
+#define LL_APPEND_ELEM2(head, el, add, next)                                                   \
 do {                                                                                           \
  if((el)) {                                                                                    \
   assert(head != NULL);                                                                        \