diff --git a/lib/conffile.c b/lib/conffile.c index 13a98ed5..59d4764e 100644 --- a/lib/conffile.c +++ b/lib/conffile.c @@ -18,6 +18,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * $Log$ + * Revision 1.9 1997/03/23 23:12:10 luethje + * improved performance + * * Revision 1.8 1997/03/20 00:22:51 luethje * Only a test * @@ -682,7 +685,7 @@ static section *Insert_Section(section **main_sec, section **ins_sec, char **var static int Compare_Sections(section* sec1, section *sec2, char **variables) { - int i Cnt1, Cnt2; + int i, Cnt1, Cnt2; int found1, found2, Cnt, depth, width, exist = 1; char **array; char **array2; @@ -739,7 +742,7 @@ static int Compare_Sections(section* sec1, section *sec2, char **variables) } } - if (exist && array2[depth-1][0] == C_EXIST && Cnt1 == 0 && Cnt2 == 0) && + if (exist && array2[depth-1][0] == C_EXIST && Cnt1 == 0 && Cnt2 == 0) found2++; if ((++Cnt)%width == 0)