summaryrefslogtreecommitdiff
path: root/source3/libads/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads/dns.c')
-rw-r--r--source3/libads/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/dns.c b/source3/libads/dns.c
index b405d29d96..008266ea0b 100644
--- a/source3/libads/dns.c
+++ b/source3/libads/dns.c
@@ -617,7 +617,7 @@ BOOL sitename_store(const char *realm, const char *sitename)
if (!sitename || (sitename && !*sitename)) {
DEBUG(5,("sitename_store: deleting empty sitename!\n"));
- ret = gencache_del(sitename_key(realm));
+ ret = gencache_del(key);
SAFE_FREE(key);
return ret;
}