]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove accidental commit to head
authorMark Andrews <marka@isc.org>
Sat, 10 Dec 2011 22:09:41 +0000 (22:09 +0000)
committerMark Andrews <marka@isc.org>
Sat, 10 Dec 2011 22:09:41 +0000 (22:09 +0000)
lib/dns/zt.c

index ed7c26f521fbffa0bd484330dd39bb705d8373c0..091f7059225c13d595050e44a35c6b15ed0942a9 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zt.c,v 1.58 2011/12/09 20:47:18 marka Exp $ */
+/* $Id: zt.c,v 1.59 2011/12/10 22:09:41 marka Exp $ */
 
 /*! \file */
 
@@ -196,19 +196,8 @@ dns_zt_attach(dns_zt_t *zt, dns_zt_t **ztp) {
 
 static isc_result_t
 flush(dns_zone_t *zone, void *uap) {
-       isc_result_t result = ISC_R_SUCCESS, tresult;
-       dns_zone_t *raw = NULL;
-
        UNUSED(uap);
-       dns_zone_getraw(zone, &raw);
-       if (raw != NULL) {
-               result = dns_zone_flush(raw);
-               dns_zone_detach(&raw);
-       }
-       tresult = dns_zone_flush(zone);
-       if (result != ISC_R_SUCCESS)
-               result = tresult;
-       return (tresult);
+       return (dns_zone_flush(zone));
 }
 
 static void