mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
logging cleanup
This commit is contained in:
parent
f2be5ad0e7
commit
7b503e6290
1 changed files with 5 additions and 4 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue