summaryrefslogtreecommitdiffstats
path: root/src/ldap_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldap_helper.c')
-rw-r--r--src/ldap_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldap_helper.c b/src/ldap_helper.c
index ca35795..bb5ed17 100644
--- a/src/ldap_helper.c
+++ b/src/ldap_helper.c
@@ -1013,7 +1013,7 @@ get_next_rdatatype(ldap_entry_t *entry, ldap_attribute_t **attrp,
for (attr = get_next_attr(entry, NULL);
attr != NULL;
attr = get_next_attr(entry, NULL)) {
- result = ldap_record_to_rdatatype(attr->name, rdtype);
+ result = ldap_attribute_to_rdatatype(attr->name, rdtype);
if (result == ISC_R_SUCCESS)
break;
}