From: Pierangelo Masarati Date: Sun, 7 Aug 2005 16:48:26 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_AC_BP~72 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52fb4b47fe68a3595b594fce911f5c8adffb7191;p=openldap fix previous commit --- diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index a067e059cc..2aa538e725 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -775,6 +775,7 @@ str2anlist( AttributeName *an, char *in, const char *brkstr ) AttributeName *anew; /* find last element in list */ + i = 0; if ( an != NULL ) { for ( i = 0; !BER_BVISNULL( &an[ i ].an_name ) ; i++) ;