Commit d3cccc35 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#8731 General Debug() related fixes

parent 4064a3dc
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment