Bug Fix : removing problematic counter increment

This commit is contained in:
Sang Seok Lim 2004-09-17 16:49:38 +00:00
parent c60dca5c1e
commit 452fc403dd

View File

@ -95,11 +95,8 @@ get_comp_filter ( Operation* op, struct berval* bv, ComponentFilter** filt,
static void static void
eat_whsp( ComponentAssertionValue* cav ) eat_whsp( ComponentAssertionValue* cav )
{ {
int count = 0; while ( ( cav->cav_ptr <= cav->cav_end ) && ( *cav->cav_ptr == ' ' ) )
for ( ; ; ) { cav->cav_ptr++;
if ( cav->cav_ptr[count++] == ' ' ) cav->cav_ptr++;
else break;
}
} }
static int static int