summaryrefslogtreecommitdiffstats
path: root/source4/dns_server/dlz_bind9.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-05-23 11:53:59 +1000
committerAmitay Isaacs <amitay@samba.org>2012-05-24 03:32:47 +0200
commitf52afa955ecdf856b730a0855bf001293fdd8f0c (patch)
treeb3b32f5cfe15ff4d44a100d6e97a88b9229bd20c /source4/dns_server/dlz_bind9.c
parent34eab45cba6989b66d37c7eb74d97846014ec4eb (diff)
downloadsamba-f52afa955ecdf856b730a0855bf001293fdd8f0c.tar.gz
samba-f52afa955ecdf856b730a0855bf001293fdd8f0c.tar.xz
samba-f52afa955ecdf856b730a0855bf001293fdd8f0c.zip
dlz_bind9: Make the talloc destructor static and return 0.
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu May 24 03:32:50 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/dns_server/dlz_bind9.c')
-rw-r--r--source4/dns_server/dlz_bind9.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c
index 4be7aaea83..c3c4172a17 100644
--- a/source4/dns_server/dlz_bind9.c
+++ b/source4/dns_server/dlz_bind9.c
@@ -552,10 +552,11 @@ static void b9_debug(void *private_ptr, int msg_level, const char *msg)
state->log(isc_log_level, "samba_dlz: %s", msg);
}
-int dlz_state_debug_unregister(struct dlz_bind9_data *state)
+static int dlz_state_debug_unregister(struct dlz_bind9_data *state)
{
/* Stop logging (to the bind9 logs) */
debug_set_callback(NULL, NULL);
+ return 0;
}
/*