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
Nadezhda Ivanova
OpenLDAP
Commits
d1b03540
Commit
d1b03540
authored
Oct 10, 2002
by
Kurt Zeilenga
Browse files
fix -H URL crash
parent
2c1f4683
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/daemon.c
View file @
d1b03540
...
...
@@ -581,6 +581,8 @@ static int slap_open_listener(
return
rc
;
}
l
.
sl_url
=
NULL
;
#ifndef HAVE_TLS
if
(
ldap_pvt_url_scheme2tls
(
lud
->
lud_scheme
)
)
{
#ifdef NEW_LOGGING
...
...
@@ -859,10 +861,21 @@ static int slap_open_listener(
slap_free_listener_addresses
(
psal
);
if
(
l
.
sl_url
==
NULL
)
{
#ifdef NEW_LOGGING
LDAP_LOG
(
CONNECTION
,
RESULTS
,
"slap_open_listener: failed on %s
\n
"
,
url
,
0
,
0
);
#else
Debug
(
LDAP_DEBUG_TRACE
,
"slap_open_listener: failed on %s
\n
"
,
url
,
0
,
0
);
#endif
return
-
1
;
}
#ifdef NEW_LOGGING
LDAP_LOG
(
CONNECTION
,
RESULTS
,
"slap_open_listener: daemon initialzed %s
\n
"
,
l
.
sl_url
,
0
,
0
);
"slap_open_listener: daemon initial
i
zed %s
\n
"
,
l
.
sl_url
,
0
,
0
);
#else
Debug
(
LDAP_DEBUG_TRACE
,
"daemon: initialized %s
\n
"
,
l
.
sl_url
,
0
,
0
);
...
...
Write
Preview
Supports
Markdown
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