Skip to content
Snippets Groups Projects
Commit 6e5d2eea authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add missing parens so that last commit behaves as desired.

parent 000c1ca4
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment