mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
Fix some Statslog()s: Add missing newlines. Print file descriptor as long.
This commit is contained in:
parent
8e550fae0c
commit
6af256b8e1
@ -64,7 +64,7 @@ do_bind(
|
||||
/* log authorization identity demotion */
|
||||
if ( op->o_conn->c_dn.bv_len ) {
|
||||
Statslog( LDAP_DEBUG_STATS,
|
||||
"conn=%lu op=%lu BIND anonymous mech=implicit ssf=0",
|
||||
"conn=%lu op=%lu BIND anonymous mech=implicit ssf=0\n",
|
||||
op->o_connid, op->o_opid, 0, 0, 0 );
|
||||
}
|
||||
|
||||
|
@ -666,8 +666,8 @@ connection_destroy( Connection *c )
|
||||
slapd_remove( sd, 0 );
|
||||
|
||||
Statslog( LDAP_DEBUG_STATS,
|
||||
"conn=%lu fd=%d closed\n",
|
||||
connid, sd, 0, 0, 0 );
|
||||
"conn=%lu fd=%ld closed\n",
|
||||
connid, (long) sd, 0, 0, 0 );
|
||||
}
|
||||
|
||||
ber_sockbuf_free( c->c_sb );
|
||||
|
@ -1708,7 +1708,7 @@ slapd_daemon_task(
|
||||
{
|
||||
/* DENY ACCESS */
|
||||
Statslog( LDAP_DEBUG_STATS,
|
||||
"fd=%ld DENIED from %s (%s)",
|
||||
"fd=%ld DENIED from %s (%s)\n",
|
||||
(long) s,
|
||||
dnsname != NULL ? dnsname : SLAP_STRING_UNKNOWN,
|
||||
peeraddr != NULL ? peeraddr : SLAP_STRING_UNKNOWN,
|
||||
|
@ -57,7 +57,7 @@ starttls_extop ( Operation *op, SlapReply *rs )
|
||||
( op->o_conn->c_dn.bv_len != 0 ) )
|
||||
{
|
||||
Statslog( LDAP_DEBUG_STATS,
|
||||
"conn=%lu op=%lu AUTHZ anonymous mech=starttls ssf=0",
|
||||
"conn=%lu op=%lu AUTHZ anonymous mech=starttls ssf=0\n",
|
||||
op->o_connid, op->o_opid, 0, 0, 0 );
|
||||
|
||||
/* force to anonymous */
|
||||
|
Loading…
Reference in New Issue
Block a user