From 544d00f3e53f598e51d23c795f72e5ba3a2f8642 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 7 Mar 2006 21:48:47 +0000 Subject: [PATCH] Fix encoding --- libraries/libldap/txn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); -- 2.39.5