Merged silc_1_1_branch to trunk.
[silc.git] / lib / silcutil / silclist.h
index cda1123f7fcfdf4338fa8bc1dcb97a32d00f32b8..81ea3638bd8a468c9a4501c9eb55c1e353c9932c 100644 (file)
@@ -104,6 +104,7 @@ do {                                                        \
   (list).next_offset = silc_offsetof(type, nextfield); \
   (list).prev_set = 0;                                 \
   (list).prev_offset = 0;                              \
+  (list).end_set = 0;                                  \
   (list).head = (list).tail = (list).current = NULL;   \
 } while(0)
 
@@ -143,6 +144,7 @@ do {                                                                \
   (list).next_offset = silc_offsetof(type, nextfield);         \
   (list).prev_offset = silc_offsetof(type, prevfield);         \
   (list).prev_set = 1;                                         \
+  (list).end_set = 0;                                          \
   (list).head = (list).tail = (list).current = NULL;           \
 } while(0)