From: Pierangelo Masarati Date: Mon, 14 Jan 2002 19:42:59 +0000 (+0000) Subject: fix typo X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~137 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9d6ebd822eaddc8ea6488486f6789b6703f8e693;p=openldap fix typo --- diff --git a/libraries/libldap/dntest.c b/libraries/libldap/dntest.c index b6538d06ec..913cb55f50 100644 --- a/libraries/libldap/dntest.c +++ b/libraries/libldap/dntest.c @@ -120,8 +120,8 @@ main( int argc, char *argv[] ) if ( rc == LDAP_SUCCESS ) { int i; - if( dn ) { - for ( i = 0; dn[i]; i++ ) { + if ( dn ) { + for ( i = 0; dn[ 0 ][ i ]; i++ ) { LDAPRDN *rdn = dn[ 0 ][ i ]; char *rstr = NULL;