This commit is contained in:
Pierangelo Masarati 2002-01-14 19:42:59 +00:00
parent 2ee2e7a145
commit 9d6ebd822e

View File

@ -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;