summaryrefslogtreecommitdiff
path: root/lib/slists.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-01-12 14:40:21 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-01-12 14:40:21 +0100
commit02a9eeeb8547b3f0940a0295df8a78ce2181ec30 (patch)
treef8e4542f82a7caa0ef1403c3852b10b4a9ca7e6a /lib/slists.c
parent23d6702952841184d364a5520dbe6be7a1a5d14b (diff)
Slist update
Diffstat (limited to 'lib/slists.c')
-rw-r--r--lib/slists.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/slists.c b/lib/slists.c
index 35774301..6e0df39e 100644
--- a/lib/slists.c
+++ b/lib/slists.c
@@ -61,6 +61,9 @@ s_get(siterator *i)
f->next = g;
if (g)
g->prev = f;
+
+ i->prev = NULL;
+ i->next = NULL;
return n;
}