From 185641cb12138bb3fea3c244566b93e581d13148 Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Wed, 7 Jun 2000 17:28:01 +0000 Subject: [PATCH] ldap_is_ldaps_url takes a char *. Is there a better fix, since the ur l is already parsed? --- servers/slapd/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 5dc5aaaa13..aa69d39dfa 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -218,7 +218,7 @@ static Listener * open_listener( const char* url ) } #ifndef HAVE_TLS - if( ldap_is_ldaps_url( lud ) ) { + if( ldap_is_ldaps_url( url ) ) { Debug( LDAP_DEBUG_ANY, "daemon: TLS not supported (%s)\n", url, 0, 0 ); @@ -231,7 +231,7 @@ static Listener * open_listener( const char* url ) } #else - l.sl_is_tls = ldap_is_ldaps_url( lud ); + l.sl_is_tls = ldap_is_ldaps_url( url ); if(! lud->lud_port ) { lud->lud_port = l.sl_is_tls ? LDAPS_PORT : LDAP_PORT; -- 2.39.5