Skip to content
Snippets Groups Projects
Commit 6dc360a1 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6585

parent 0579cc86
No related branches found
No related tags found
No related merge requests found
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.24 Engineering
Fixed liblber to not close invalid sockets (ITS#6585)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd-bdb entry cache delete failure (ITS#6577)
......
......@@ -541,7 +541,8 @@ sb_stream_close( Sockbuf_IO_Desc *sbiod )
{
assert( sbiod != NULL );
assert( SOCKBUF_VALID( sbiod->sbiod_sb ) );
tcp_close( sbiod->sbiod_sb->sb_fd );
if ( sbiod->sbiod_sb->sb_fd != AC_SOCKET_INVALID )
tcp_close( sbiod->sbiod_sb->sb_fd );
return 0;
}
......@@ -754,7 +755,8 @@ sb_fd_close( Sockbuf_IO_Desc *sbiod )
assert( sbiod != NULL );
assert( SOCKBUF_VALID( sbiod->sbiod_sb ) );
close( sbiod->sbiod_sb->sb_fd );
if ( sbiod->sbiod_sb->sb_fd != AC_SOCKET_INVALID )
close( sbiod->sbiod_sb->sb_fd );
return 0;
}
......@@ -956,8 +958,9 @@ sb_dgram_close( Sockbuf_IO_Desc *sbiod )
{
assert( sbiod != NULL );
assert( SOCKBUF_VALID( sbiod->sbiod_sb ) );
tcp_close( sbiod->sbiod_sb->sb_fd );
if ( sbiod->sbiod_sb->sb_fd != AC_SOCKET_INVALID )
tcp_close( sbiod->sbiod_sb->sb_fd );
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment