From: Gisle Vanem Date: Sat, 8 Apr 2006 11:01:40 +0000 (+0000) Subject: curl_easy_unescape() takes 4 arguments. X-Git-Tag: curl-7_15_4~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b4a755f9f38d802b609c5f72efb2b157fb13ba;p=thirdparty%2Fcurl.git curl_easy_unescape() takes 4 arguments. --- diff --git a/lib/ldap.c b/lib/ldap.c index 71f145936b..47b5fdefda 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -503,26 +503,26 @@ static bool unescape_elements (void *data, LDAPURLDesc *ludp) int i; if (ludp->lud_filter) { - ludp->lud_filter = curl_easy_unescape(data, ludp->lud_filter, 0); + ludp->lud_filter = curl_easy_unescape(data, ludp->lud_filter, 0, NULL); if (!ludp->lud_filter) return (FALSE); } for (i = 0; ludp->lud_attrs && ludp->lud_attrs[i]; i++) { - ludp->lud_attrs[i] = curl_easy_unescape(data, ludp->lud_attrs[i], 0); + ludp->lud_attrs[i] = curl_easy_unescape(data, ludp->lud_attrs[i], 0, NULL); if (!ludp->lud_attrs[i]) return (FALSE); } for (i = 0; ludp->lud_exts && ludp->lud_exts[i]; i++) { - ludp->lud_exts[i] = curl_easy_unescape(data, ludp->lud_exts[i], 0); + ludp->lud_exts[i] = curl_easy_unescape(data, ludp->lud_exts[i], 0, NULL); if (!ludp->lud_exts[i]) return (FALSE); } if (ludp->lud_dn) { char *dn = ludp->lud_dn; - char *new_dn = curl_easy_unescape(data, dn, 0); + char *new_dn = curl_easy_unescape(data, dn, 0, NULL); free(dn); ludp->lud_dn = new_dn;