mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-08 08:02:16 -05:00
ITS#5855 fix Windows wake_sds close
This commit is contained in:
parent
0b60ddd7ca
commit
c6b18cd7c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1646,7 +1646,7 @@ slapd_daemon_destroy( void )
|
|||
{
|
||||
connections_destroy();
|
||||
#ifdef HAVE_WINSOCK
|
||||
if ( wake_sds[1] != INVALID_SOCKET )
|
||||
if ( wake_sds[1] != INVALID_SOCKET && wake_sds[1] != wake_sds[0] )
|
||||
#endif /* HAVE_WINSOCK */
|
||||
tcp_close( SLAP_FD2SOCK(wake_sds[1]) );
|
||||
#ifdef HAVE_WINSOCK
|
||||
|
|
|
|||
Loading…
Reference in a new issue