From: Kurt Zeilenga Date: Thu, 17 Aug 2006 00:26:25 +0000 (+0000) Subject: fix confused comment X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8e5699e60f61b8d689e63515226136b8a909c0e0;p=openldap fix confused comment --- 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 ) {