Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
cfd40923
Commit
cfd40923
authored
Jan 13, 2007
by
Quanah Gibson-Mount
Browse files
Logging cleanup (drop empty ()'s when it is a normal close)
parent
d67a30c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
cfd40923
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment