mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 20:49:35 -05:00
don't use conditionals in macro arguments (ITS#4769)
This commit is contained in:
parent
77ed3423b9
commit
0b29856b16
1 changed files with 5 additions and 3 deletions
|
|
@ -738,9 +738,11 @@ connection_destroy( Connection *c )
|
|||
if ( sd != AC_SOCKET_INVALID ) {
|
||||
slapd_remove( sd, sb, 1, 0, 0 );
|
||||
|
||||
Statslog( LDAP_DEBUG_STATS, (close_reason
|
||||
? "conn=%lu fd=%ld closed (%s)\n"
|
||||
: "conn=%lu fd=%ld closed\n"),
|
||||
if ( close_reason == NULL ) {
|
||||
close_reason = "";
|
||||
}
|
||||
|
||||
Statslog( LDAP_DEBUG_STATS, "conn=%lu fd=%ld closed (%s)\n",
|
||||
connid, (long) sd, close_reason, 0, 0 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue