mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt.h header?
This commit is contained in:
parent
9f6f5491fe
commit
cc60b5ce76
@ -31,6 +31,9 @@
|
||||
#include "slap.h"
|
||||
#include "back-ldap.h"
|
||||
#include "lutil.h"
|
||||
#undef ldap_debug
|
||||
/* for advanced URL parsing */
|
||||
#include "../../../libraries/libldap/ldap-int.h"
|
||||
|
||||
static SLAP_EXTOP_MAIN_FN ldap_back_exop_whoami;
|
||||
|
||||
@ -101,7 +104,7 @@ ldap_back_db_config(
|
||||
#else
|
||||
urlrc = ldap_url_parselist( &li->lud, argv[ 1 ] );
|
||||
#endif
|
||||
if ( urlrc != LDAP_SUCCESS ) {
|
||||
if ( urlrc != LDAP_URL_SUCCESS ) {
|
||||
char *why;
|
||||
|
||||
switch ( urlrc ) {
|
||||
|
Loading…
Reference in New Issue
Block a user