From: Robert Spalek Date: Tue, 14 Aug 2001 09:11:03 +0000 (+0000) Subject: bugfix X-Git-Tag: holmes-import~1481 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6380378ae2559f3e36359bdc5523e1e3fa974239;p=libucw.git bugfix --- 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; }