From: Kurt Zeilenga Date: Fri, 10 Mar 2000 18:16:22 +0000 (+0000) Subject: Add missing parens so that last commit behaves as desired. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3158 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e5d2eea4e619c36e65d829dc60911eddfe0ada0;p=openldap Add missing parens so that last commit behaves as desired. --- 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 );