dlz_bind9: Make the talloc destructor static and return 0.
authorAmitay Isaacs <amitay@gmail.com>
Wed, 23 May 2012 01:53:59 +0000 (11:53 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 24 May 2012 01:32:47 +0000 (03:32 +0200)
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu May 24 03:32:50 CEST 2012 on sn-devel-104

source4/dns_server/dlz_bind9.c

index 4be7aaea83eb4c61ef32699b376694f7358bfae3..c3c4172a1732857a6f1490f585ecc88147ef3d76 100644 (file)
@@ -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;
 }
 
 /*