diff --git a/bin/named/logconf.c b/bin/named/logconf.c index 305dd78da4..ce804055cc 100644 --- a/bin/named/logconf.c +++ b/bin/named/logconf.c @@ -249,7 +249,7 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *logconfig) fprintf(stderr, "isc_stdio_open '%s' failed: %s\n", dest.file.name, - isc_result_totext(result)); + isc_result_totext(result)); } else (void)isc_stdio_close(fp); goto done; diff --git a/bin/named/server.c b/bin/named/server.c index 2ca8a60e48..9f69c45a3c 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -5650,7 +5650,7 @@ load_configuration(const char *filename, ns_server_t *server, "not using config file logging " "statement for logging due to " "-g option"); - + (void)cfg_map_get(config, "logging", &logobj); if (logobj != NULL) { result = ns_log_configure(NULL, logobj); @@ -5821,7 +5821,7 @@ load_configuration(const char *filename, ns_server_t *server, cleanup: if (logc != NULL) isc_logconfig_destroy(&logc); - + if (v4portset != NULL) isc_portset_destroy(ns_g_mctx, &v4portset);