Fix slapi_valueset_count() for no value case

This commit is contained in:
Luke Howard 2006-02-27 05:21:11 +00:00
parent 8c674299bf
commit cd18c6cb4d

View file

@ -2532,6 +2532,9 @@ int slapi_valueset_count( const Slapi_ValueSet *vs )
vp = *vs;
if ( vp == NULL )
return 0;
for ( i = 0; vp[i].bv_val != NULL; i++ )
;