mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
more bugs
This commit is contained in:
parent
626f97e223
commit
0ca1225ee6
1 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: check.c,v 1.2 2001/03/02 01:30:32 bwelling Exp $ */
|
||||
/* $Id: check.c,v 1.3 2001/03/02 03:09:27 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -197,7 +197,7 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx) {
|
|||
cfg_obj_t *views = NULL;
|
||||
cfg_obj_t *obj;
|
||||
cfg_listelt_t *velement;
|
||||
isc_boolean_t result = ISC_R_SUCCESS;
|
||||
isc_result_t result = ISC_R_SUCCESS;
|
||||
|
||||
(void)cfg_map_get(config, "view", &views);
|
||||
|
||||
|
|
@ -262,6 +262,7 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx) {
|
|||
(void)cfg_map_get(config, "options", &options);
|
||||
|
||||
if (options != NULL) {
|
||||
obj = NULL;
|
||||
result = cfg_map_get(options, "cache-file", &obj);
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
|
||||
|
|
@ -269,6 +270,7 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx) {
|
|||
"option if views are present");
|
||||
result = ISC_R_FAILURE;
|
||||
}
|
||||
result = ISC_R_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue