fix confused comment

This commit is contained in:
Kurt Zeilenga 2006-08-17 00:26:25 +00:00
parent ccd1273cfe
commit 8e5699e60f
2 changed files with 2 additions and 3 deletions

View file

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

View file

@ -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 ) {