Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
91b4bfb2
Commit
91b4bfb2
authored
Dec 03, 2002
by
Kurt Zeilenga
Browse files
Fix logging bug
parent
5362c159
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/entry.c
View file @
91b4bfb2
...
...
@@ -112,15 +112,13 @@ str2entry( char *s )
#ifdef NEW_LOGGING
LDAP_LOG
(
OPERATION
,
DETAIL1
,
"str2entry: "
"entry %ld has multiple DNs
\"
%s
\"
and
\"
%s
\"\n
"
,
(
long
)
e
->
e_id
,
e
->
e_dn
,
vals
[
0
].
bv_val
!=
NULL
?
vals
[
0
].
bv_val
:
""
);
(
long
)
e
->
e_id
,
e
->
e_dn
,
vals
[
0
].
bv_val
);
#else
Debug
(
LDAP_DEBUG_ANY
,
"str2entry: "
"entry %ld has multiple DNs
\"
%s
\"
and
\"
%s
\"\n
"
,
(
long
)
e
->
e_id
,
e
->
e_dn
,
vals
[
0
].
bv_val
!=
NULL
?
vals
[
0
].
bv_val
:
""
);
(
long
)
e
->
e_id
,
e
->
e_dn
,
vals
[
0
].
bv_val
);
#endif
if
(
vals
[
0
].
bv_val
!=
NULL
)
free
(
vals
[
0
].
bv_val
);
free
(
vals
[
0
].
bv_val
);
entry_free
(
e
);
return
NULL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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