Loading lib/ldap.c +3 −15 Original line number Original line Diff line number Diff line Loading @@ -681,14 +681,6 @@ static bool split_str(char *str, char ***out, size_t *count) return TRUE; 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. * Break apart the pieces of an LDAP URL. * Syntax: * Syntax: Loading Loading @@ -765,7 +757,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) p = q; p = q; if(!p) if(!p) goto success; goto quit; /* Parse the attributes. skip "??" */ /* Parse the attributes. skip "??" */ q = strchr(p, '?'); q = strchr(p, '?'); Loading Loading @@ -838,7 +830,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) p = q; p = q; if(!p) if(!p) goto success; goto quit; /* Parse the scope. skip "??" */ /* Parse the scope. skip "??" */ q = strchr(p, '?'); q = strchr(p, '?'); Loading @@ -857,7 +849,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) p = q; p = q; if(!p) if(!p) goto success; goto quit; /* Parse the filter */ /* Parse the filter */ q = strchr(p, '?'); q = strchr(p, '?'); Loading Loading @@ -903,10 +895,6 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) goto quit; goto quit; } } success: if(!unescape_elements(conn->data, ludp)) rc = LDAP_NO_MEMORY; quit: quit: #if defined(CURL_LDAP_WIN) && \ #if defined(CURL_LDAP_WIN) && \ (defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI)) (defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI)) Loading Loading
lib/ldap.c +3 −15 Original line number Original line Diff line number Diff line Loading @@ -681,14 +681,6 @@ static bool split_str(char *str, char ***out, size_t *count) return TRUE; 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. * Break apart the pieces of an LDAP URL. * Syntax: * Syntax: Loading Loading @@ -765,7 +757,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) p = q; p = q; if(!p) if(!p) goto success; goto quit; /* Parse the attributes. skip "??" */ /* Parse the attributes. skip "??" */ q = strchr(p, '?'); q = strchr(p, '?'); Loading Loading @@ -838,7 +830,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) p = q; p = q; if(!p) if(!p) goto success; goto quit; /* Parse the scope. skip "??" */ /* Parse the scope. skip "??" */ q = strchr(p, '?'); q = strchr(p, '?'); Loading @@ -857,7 +849,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) p = q; p = q; if(!p) if(!p) goto success; goto quit; /* Parse the filter */ /* Parse the filter */ q = strchr(p, '?'); q = strchr(p, '?'); Loading Loading @@ -903,10 +895,6 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) goto quit; goto quit; } } success: if(!unescape_elements(conn->data, ludp)) rc = LDAP_NO_MEMORY; quit: quit: #if defined(CURL_LDAP_WIN) && \ #if defined(CURL_LDAP_WIN) && \ (defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI)) (defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI)) Loading