]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorBrian Wellington <source@isc.org>
Tue, 16 Jan 2001 22:30:55 +0000 (22:30 +0000)
committerBrian Wellington <source@isc.org>
Tue, 16 Jan 2001 22:30:55 +0000 (22:30 +0000)
removed redundant error check [RT #669]

lib/dns/masterdump.c

index b34e4d7f8a73f0676b2183076dd0988a8b3160de..f3817b137445d589b96097039ee74d975bb9c93e 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: masterdump.c,v 1.38.2.1 2001/01/09 22:43:48 bwelling Exp $ */
+/* $Id: masterdump.c,v 1.38.2.2 2001/01/16 22:30:55 bwelling Exp $ */
 
 #include <config.h>
 
@@ -926,14 +926,6 @@ dns_master_dump(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *version,
                
        }
 
-       if (result != ISC_R_SUCCESS) {
-               isc_log_write(dns_lctx, ISC_LOGCATEGORY_GENERAL,
-                             DNS_LOGMODULE_MASTERDUMP, ISC_LOG_ERROR,
-                             "dumping master file: %s: close: %s",
-                             tempname, isc_result_totext(result));
-               goto cleanup;
-       }
-
        result = isc_file_rename(tempname, filename);
        if (result != ISC_R_SUCCESS) {
                isc_log_write(dns_lctx, ISC_LOGCATEGORY_GENERAL,