From 8e5699e60f61b8d689e63515226136b8a909c0e0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 17 Aug 2006 00:26:25 +0000 Subject: [PATCH] fix confused comment --- clients/tools/common.c | 3 +-- clients/tools/ldappasswd.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/clients/tools/common.c b/clients/tools/common.c index cb0135e909..271a133869 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -1079,8 +1079,7 @@ tool_bind( LDAP *ld ) { /* simple bind */ rc = ldap_sasl_bind( ld, binddn, LDAP_SASL_SIMPLE, &passwd, - sctrlsp, - NULL, &msgid ); + sctrlsp, NULL, &msgid ); if ( msgid == -1 ) { tool_perror( "ldap_sasl_bind(SIMPLE)", rc, NULL, NULL, NULL, NULL ); diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 4390caaba2..b8ce5e899a 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -265,7 +265,7 @@ main( int argc, char *argv[] ) } if( user != NULL || oldpw.bv_val != NULL || newpw.bv_val != NULL ) { - /* build change password control */ + /* build the password modify request data */ ber = ber_alloc_t( LBER_USE_DER ); if( ber == NULL ) { -- 2.39.5