]> mj.ucw.cz Git - libucw.git/commitdiff
bugfix
authorRobert Spalek <robert@ucw.cz>
Tue, 14 Aug 2001 09:11:03 +0000 (09:11 +0000)
committerRobert Spalek <robert@ucw.cz>
Tue, 14 Aug 2001 09:11:03 +0000 (09:11 +0000)
lib/conf.c

index 9e52cf275a12db022e231e41a48eb976841824c5..3f79fc22d3497d4c15c9de0dc524ac7f762ebf20 100644 (file)
@@ -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;
 }