]> git.sur5r.net Git - openldap/commitdiff
SOCKBUF_VALID should be called with sb not ber
authorKurt Zeilenga <kurt@openldap.org>
Wed, 17 May 2000 22:26:06 +0000 (22:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 17 May 2000 22:26:06 +0000 (22:26 +0000)
libraries/liblber/io.c

index 58f6b649118b56b15a97cb4ca0433c97ae16e122..7154d3480caaa22fcd5906fdd25b6147efaab4a4 100644 (file)
@@ -221,7 +221,7 @@ ber_flush( Sockbuf *sb, BerElement *ber, int freeit )
        assert( sb != NULL );
        assert( ber != NULL );
 
-       assert( SOCKBUF_VALID( ber ) );
+       assert( SOCKBUF_VALID( sb ) );
        assert( BER_VALID( ber ) );
 
        if ( ber->ber_rwptr == NULL ) {