Skip to content
Snippets Groups Projects
Commit 0b29856b authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

don't use conditionals in macro arguments (ITS#4769)

parent 77ed3423
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment