]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Sun, 7 Aug 2005 16:48:26 +0000 (16:48 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 7 Aug 2005 16:48:26 +0000 (16:48 +0000)
servers/slapd/ad.c

index a067e059cc27ef2cdc840dd88245506356ce7e1e..2aa538e725d29c1663f0a9a0c101e21a6953dd8d 100644 (file)
@@ -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++)
                        ;