summaryrefslogtreecommitdiffstats
path: root/ldap_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap_helper.c')
-rw-r--r--ldap_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap_helper.c b/ldap_helper.c
index 1b284ee..e0e66b1 100644
--- a/ldap_helper.c
+++ b/ldap_helper.c
@@ -507,7 +507,7 @@ add_or_modify_zone(ldap_db_t *ldap_db, const char *dn, const char *db_name,
zone = NULL;
dns_name_init(&name, NULL);
- CHECK(dn_to_dnsname(ldap_db->mctx, dn, str_buf(ldap_db->base), &name));
+ CHECK(dn_to_dnsname(ldap_db->mctx, dn, &name));
/* If the zone doesn't exist, create it. */
result = dns_view_findzone(ldap_db->view, &name, &zone);