mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
SOCKBUF_VALID should be called with sb not ber
This commit is contained in:
parent
5697ed03ed
commit
1d00cd34c5
@ -221,7 +221,7 @@ ber_flush( Sockbuf *sb, BerElement *ber, int freeit )
|
|||||||
assert( sb != NULL );
|
assert( sb != NULL );
|
||||||
assert( ber != NULL );
|
assert( ber != NULL );
|
||||||
|
|
||||||
assert( SOCKBUF_VALID( ber ) );
|
assert( SOCKBUF_VALID( sb ) );
|
||||||
assert( BER_VALID( ber ) );
|
assert( BER_VALID( ber ) );
|
||||||
|
|
||||||
if ( ber->ber_rwptr == NULL ) {
|
if ( ber->ber_rwptr == NULL ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user