aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-04-08 11:01:40 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-04-08 11:01:40 +0000
commit35b4a755f9f38d802b609c5f72efb2b157fb13ba (patch)
treefb1b71f157914fc842aec3fdc50da642862a1f3e
parent5a4b43848ac21b3d831f00ce11136e20f820f0a0 (diff)
curl_easy_unescape() takes 4 arguments.
-rw-r--r--lib/ldap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 71f145936..47b5fdefd 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;