assert( buf_arg != NULL );
assert( sb != NULL );
- assert( SOCKBUF_VALID( sb ) );
+ assert( SOCKBUF_VALID( sb ) );
assert( status_is_ok(sb) );
-#if 0
- /* breaks slapd :-< */
+
+ /* slapd might have problems with this */
assert( ber_pvt_sb_in_use( sb ) );
-#endif
#ifdef TEST_PARTIAL_READ
if ((rand() & 3)==1) { /* 1 out of 4 */
assert( sb != NULL );
assert( SOCKBUF_VALID( sb ) );
assert( status_is_ok(sb) );
-#if 0
- /* unfortunately breaks slapd */
+
+ /* slapd might have problems with this */
assert( ber_pvt_sb_in_use( sb ) );
-#endif
+
#ifdef TEST_PARTIAL_WRITE
if ((rand() & 3)==1) { /* 1 out of 4 */
errno = EWOULDBLOCK;