From 6380378ae2559f3e36359bdc5523e1e3fa974239 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Tue, 14 Aug 2001 09:11:03 +0000 Subject: [PATCH] bugfix --- lib/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/conf.c b/lib/conf.c index 9e52cf27..3f79fc22 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -60,7 +60,7 @@ int cf_item_count(void) struct cfitem *sect, *item; int count = 0; for (sect = cfsection; sect; sect = sect->var) - for (item = sect+1; sect->type; sect++) + for (item = sect+1; item->type; item++) count++; return count; } -- 2.39.2