mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
ITS#8731 General Debug() related fixes
This commit is contained in:
parent
4064a3dcaa
commit
d3cccc3580
2 changed files with 2 additions and 2 deletions
|
|
@ -947,7 +947,7 @@ nssov_db_close(
|
|||
|
||||
if ( slapMode & SLAP_SERVER_MODE ) {
|
||||
/* close socket if it's still in use */
|
||||
if (ni->ni_socket >= 0);
|
||||
if (ni->ni_socket >= 0)
|
||||
{
|
||||
if (close(ni->ni_socket))
|
||||
Debug( LDAP_DEBUG_ANY,"problem closing server socket (ignored): %s",strerror(errno),0,0);
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ register_supported_control2(const char *controloid,
|
|||
if ( num_known_controls >= SLAP_MAX_CIDS ) {
|
||||
Debug( LDAP_DEBUG_ANY, "Too many controls registered."
|
||||
" Recompile slapd with SLAP_MAX_CIDS defined > %d\n",
|
||||
SLAP_MAX_CIDS, 0, 0 );
|
||||
num_known_controls, 0, 0 );
|
||||
return LDAP_OTHER;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue