mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Add missing parens so that last commit behaves as desired.
This commit is contained in:
parent
000c1ca40b
commit
6e5d2eea4e
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user