changeset 2851:190778cbf865 HEAD

fix
author Timo Sirainen <tss@iki.fi>
date Fri, 05 Nov 2004 02:56:52 +0200
parents 4e5b1a1494c5
children a05dfa1d878b
files src/auth/auth-cache.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-cache.c	Thu Nov 04 15:09:44 2004 +0200
+++ b/src/auth/auth-cache.c	Fri Nov 05 02:56:52 2004 +0200
@@ -66,6 +66,8 @@
 auth_cache_node_link_head(struct auth_cache *cache, struct cache_node *node)
 {
 	node->prev = cache->head;
+	node->next = NULL;
+
 	cache->head = node;
 	if (node->prev != NULL)
 		node->prev->next = node;