SOCKBUF_VALID should be called with sb not ber

This commit is contained in:
Kurt Zeilenga 2000-05-17 22:26:06 +00:00
parent 5697ed03ed
commit 1d00cd34c5

View File

@ -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 ) {