logging cleanup

This commit is contained in:
Quanah Gibson-Mount 2007-01-12 22:55:39 +00:00
parent f2be5ad0e7
commit 7b503e6290

View file

@ -747,11 +747,12 @@ connection_destroy( Connection *c )
slapd_remove( sd, sb, 1, 0, 0 );
if ( close_reason == NULL ) {
close_reason = "";
Statslog( LDAP_DEBUG_STATS, "conn=%lu fd=%ld closed\n",
connid, (long) sd, 0, 0, 0 );
} else {
Statslog( LDAP_DEBUG_STATS, "conn=%lu fd=%ld closed (%s)\n",
connid, (long) sd, close_reason, 0, 0 );
}
Statslog( LDAP_DEBUG_STATS, "conn=%lu fd=%ld closed (%s)\n",
connid, (long) sd, close_reason, 0, 0 );
}
}