Fix some Statslog()s: Add missing newlines. Print file descriptor as long.

This commit is contained in:
Hallvard Furuseth 2003-05-15 23:45:33 +00:00
parent 8e550fae0c
commit 6af256b8e1
4 changed files with 5 additions and 5 deletions

View File

@ -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 );
}

View File

@ -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 );

View File

@ -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,

View File

@ -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 */