diff --git a/bin/named/logconf.c b/bin/named/logconf.c index e003e5c193..592a7ae92b 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 377a34b6e6..44e78774eb 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -5120,7 +5120,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); @@ -5291,7 +5291,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); diff --git a/lib/isc/log.c b/lib/isc/log.c index 5867f7a6fd..c9e63cc5bf 100644 --- a/lib/isc/log.c +++ b/lib/isc/log.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009, 2011-2013 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any