From 9d6ebd822eaddc8ea6488486f6789b6703f8e693 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 14 Jan 2002 19:42:59 +0000 Subject: [PATCH] fix typo --- libraries/libldap/dntest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5