From 52fb4b47fe68a3595b594fce911f5c8adffb7191 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 7 Aug 2005 16:48:26 +0000 Subject: [PATCH] fix previous commit --- servers/slapd/ad.c | 1 + 1 file changed, 1 insertion(+) 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++) ; -- 2.39.2