element, \
head)) ) \
{ \
- /* insert at head, e;e,emt < head */ \
- GNUNET_CONTAINER_DLL_insert (head, \
+ /* insert at head, element < head */ \
+ GNUNET_CONTAINER_DLL_insert (head, \
tail, \
element); \
} \
element, \
pos)) \
break; /* element < pos */ \
- if (NULL == pos) /* => element > tail */ \
- GNUNET_CONTAINER_DLL_insert_tail (head, \
- tail, \
- element); \
- else /* prev < element < pos */ \
- GNUNET_CONTAINER_DLL_insert_after (head, \
- tail, \
- element, \
- pos->prev); \
+ if (NULL == pos) /* => element > tail */ \
+ { \
+ GNUNET_CONTAINER_DLL_insert_tail (head, \
+ tail, \
+ element); \
+ } \
+ else /* prev < element < pos */ \
+ { \
+ GNUNET_CONTAINER_DLL_insert_after (head, \
+ tail, \
+ pos->prev, \
+ element); \
} \
- } while (0)
+ } \
+} while (0)
/* ******************** Heap *************** */