]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2262. [bug] Error status from all but the last view could be
authorMark Andrews <marka@isc.org>
Mon, 26 Nov 2007 01:51:32 +0000 (01:51 +0000)
committerMark Andrews <marka@isc.org>
Mon, 26 Nov 2007 01:51:32 +0000 (01:51 +0000)
                        lost. [RT #17292]

lib/bind9/check.c

index 0ef51ba40aee5f69d8fa5f7836446d956e673911..31a787b5ece22f0f1e75d5af097b279cfa8830f7 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.83 2007/09/13 04:45:18 each Exp $ */
+/* $Id: check.c,v 1.84 2007/11/26 01:51:32 marka Exp $ */
 
 /*! \file */
 
@@ -2083,7 +2083,7 @@ bind9_check_namedconf(const cfg_obj_t *config, isc_log_t *logctx,
                                            "previous definition: %s:%u",
                                            key, file, line);
                                result = tresult;
-                       } else if (result != ISC_R_SUCCESS) {
+                       } else if (tresult != ISC_R_SUCCESS) {
                                result = tresult;
                        } else if ((strcasecmp(key, "_bind") == 0 &&
                                    vclass == dns_rdataclass_ch) ||