From 6e5d2eea4e619c36e65d829dc60911eddfe0ada0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 10 Mar 2000 18:16:22 +0000 Subject: [PATCH] Add missing parens so that last commit behaves as desired. --- libraries/libldap/request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 48e8a2e42f..27b2310ddc 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -829,10 +829,10 @@ re_encode_request( LDAP *ld, BerElement *origber, ber_int_t msgid, char **dnp ) return( NULL ); } - if ( tag != LDAP_REQ_DELETE && + if ( tag != LDAP_REQ_DELETE && ( ber_write(ber, tmpber.ber_ptr, ( tmpber.ber_end - tmpber.ber_ptr ), 0) != ( tmpber.ber_end - tmpber.ber_ptr ) || - ber_printf( ber, /*{{*/ "}}" ) == -1 ) + ber_printf( ber, /*{{*/ "}}" ) == -1 ) ) { ld->ld_errno = LDAP_ENCODING_ERROR; ber_free( ber, 1 ); -- 2.39.5