Due to the recent modifications this function is no longer used.
return TRUE;
}
-/*
- * Unescape the LDAP-URL components
- */
-static bool unescape_elements (void *data, LDAPURLDesc *ludp)
-{
- return (TRUE);
-}
-
/*
* Break apart the pieces of an LDAP URL.
* Syntax:
p = q;
if(!p)
- goto success;
+ goto quit;
/* Parse the attributes. skip "??" */
q = strchr(p, '?');
p = q;
if(!p)
- goto success;
+ goto quit;
/* Parse the scope. skip "??" */
q = strchr(p, '?');
p = q;
if(!p)
- goto success;
+ goto quit;
/* Parse the filter */
q = strchr(p, '?');
goto quit;
}
-success:
- if(!unescape_elements(conn->data, ludp))
- rc = LDAP_NO_MEMORY;
-
quit:
#if defined(CURL_LDAP_WIN) && \
(defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI))