]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Thu, 4 Oct 2001 19:43:06 +0000 (19:43 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 4 Oct 2001 19:43:06 +0000 (19:43 +0000)
the wrong result code was checked [RT #1847]

lib/isccfg/check.c

index 14d6157c6b81cc1c83ad6158078b886dd6e0de03..72c252c14374583df2c93078351fbdc297acb929 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.14.2.1 2001/09/04 19:15:36 gson Exp $ */
+/* $Id: check.c,v 1.14.2.2 2001/10/04 19:43:06 gson Exp $ */
 
 #include <config.h>
 
@@ -374,7 +374,7 @@ check_viewconf(cfg_obj_t *vconfig, const char *vname, isc_log_t *logctx,
                }
 
                tresult = cfg_check_key(key, logctx);
-               if (result != ISC_R_SUCCESS) {
+               if (tresult != ISC_R_SUCCESS) {
                        isc_symtab_destroy(&symtab);
                        return (tresult);
                }