From: Kurt Zeilenga Date: Tue, 7 Mar 2006 21:48:47 +0000 (+0000) Subject: Fix encoding X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=544d00f3e53f598e51d23c795f72e5ba3a2f8642;p=openldap Fix encoding --- diff --git a/libraries/libldap/txn.c b/libraries/libldap/txn.c index 8c17ea6948..23856db4b6 100644 --- a/libraries/libldap/txn.c +++ b/libraries/libldap/txn.c @@ -76,9 +76,9 @@ ldap_txn_end( txnber = ber_alloc_t( LBER_USE_DER ); if( commit ) { - ber_printf( txnber, "{o}", txnid ); + ber_printf( txnber, "{ON}", txnid ); } else { - ber_printf( txnber, "{bo}", commit, txnid ); + ber_printf( txnber, "{bON}", commit, txnid ); } ber_flatten( txnber, &txnval ); @@ -106,9 +106,9 @@ ldap_txn_end_s( txnber = ber_alloc_t( LBER_USE_DER ); if( commit ) { - ber_printf( txnber, "{o}", txnid ); + ber_printf( txnber, "{ON}", txnid ); } else { - ber_printf( txnber, "{bo}", commit, txnid ); + ber_printf( txnber, "{bON}", commit, txnid ); } ber_flatten( txnber, &txnval );