mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix ber_printf arguments
This commit is contained in:
parent
65bf90ff73
commit
b4db079ac7
1 changed files with 3 additions and 3 deletions
|
|
@ -90,17 +90,17 @@ ldap_passwd( LDAP *ld,
|
|||
ber_printf( ber, "{" /*}*/ );
|
||||
|
||||
if( user != NULL ) {
|
||||
ber_printf( ber, "ts",
|
||||
ber_printf( ber, "tO",
|
||||
LDAP_TAG_EXOP_MODIFY_PASSWD_ID, user );
|
||||
}
|
||||
|
||||
if( oldpw != NULL ) {
|
||||
ber_printf( ber, "ts",
|
||||
ber_printf( ber, "tO",
|
||||
LDAP_TAG_EXOP_MODIFY_PASSWD_OLD, oldpw );
|
||||
}
|
||||
|
||||
if( newpw != NULL ) {
|
||||
ber_printf( ber, "ts",
|
||||
ber_printf( ber, "tO",
|
||||
LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, newpw );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue