mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#5489 move assert
This commit is contained in:
parent
a572267f60
commit
9d787d8d42
1 changed files with 2 additions and 2 deletions
|
|
@ -928,9 +928,9 @@ slapd_clr_write( ber_socket_t s, int wake )
|
|||
{
|
||||
ldap_pvt_thread_mutex_lock( &slap_daemon.sd_mutex );
|
||||
|
||||
assert( SLAP_SOCK_IS_ACTIVE( s ));
|
||||
|
||||
if ( SLAP_SOCK_IS_WRITE( s )) {
|
||||
assert( SLAP_SOCK_IS_ACTIVE( s ));
|
||||
|
||||
SLAP_SOCK_CLR_WRITE( s );
|
||||
slap_daemon.sd_nwriters--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue