mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#9112 Silence warnings
This commit is contained in:
parent
8f01fdec36
commit
550476b5ad
@ -1102,7 +1102,7 @@ int close( int s )
|
|||||||
{
|
{
|
||||||
if (newconns) {
|
if (newconns) {
|
||||||
Debug( LDAP_DEBUG_CONNS,
|
Debug( LDAP_DEBUG_CONNS,
|
||||||
"daemon: close(%ld)\n", s );
|
"daemon: close(%d)\n", s );
|
||||||
if (s >= 0 && s < dtblsize && newconns[s])
|
if (s >= 0 && s < dtblsize && newconns[s])
|
||||||
assert(newconns[s] == 2);
|
assert(newconns[s] == 2);
|
||||||
}
|
}
|
||||||
@ -2122,7 +2122,7 @@ slap_listener(
|
|||||||
SET_CLOSE(s);
|
SET_CLOSE(s);
|
||||||
}
|
}
|
||||||
Debug( LDAP_DEBUG_CONNS,
|
Debug( LDAP_DEBUG_CONNS,
|
||||||
"daemon: accept() = %ld\n", s );
|
"daemon: accept() = %d\n", s );
|
||||||
|
|
||||||
/* Resume the listener FD to allow concurrent-processing of
|
/* Resume the listener FD to allow concurrent-processing of
|
||||||
* additional incoming connections.
|
* additional incoming connections.
|
||||||
|
Loading…
Reference in New Issue
Block a user