summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index d3702457..2a374193 100644
--- a/conf.c
+++ b/conf.c
@@ -235,4 +235,7 @@ conf_remove_items (const char *key) {
if (prev) {
prev->next = next;
}
+ else {
+ conf_items = next;
+ }
}