]> git.sur5r.net Git - openldap/commitdiff
Fix ber_printf arguments
authorHoward Chu <hyc@openldap.org>
Sun, 16 Feb 2003 08:37:19 +0000 (08:37 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 16 Feb 2003 08:37:19 +0000 (08:37 +0000)
libraries/libldap/passwd.c

index e8ef6fbf27be24b4348f255cbb72d36edf51b2a2..d96fdb6350350fc3ef4fe222e77f8b37df87beb3 100644 (file)
@@ -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 );
                }