summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/queue.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ec32db9..6256ee6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -65,6 +65,7 @@ o import tcp_state_helper only once
o add missing printf arguments
o use timeradd() since manipulating tv_sec directly
o fix lots of gcc warnings
+o don't call INIT_LIST_HEAD on list item when unneeded
version 0.9.5 (2007/07/29)
------------------------------
diff --git a/src/queue.c b/src/queue.c
index 80b3342..a721760 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -55,7 +55,6 @@ static struct queue_node *queue_node_create(const void *data, size_t size)
if (n == NULL)
return NULL;
- INIT_LIST_HEAD(&n->head);
n->size = size;
memcpy(n->data, data, size);