From ade83e60fa640d495de7d46bed87114d6f9a740c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 30 Nov 2005 03:36:45 +0000 Subject: [PATCH] silence ambigious else --- bin/named/controlconf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/named/controlconf.c b/bin/named/controlconf.c index d11809e0da..57f894bf08 100644 --- a/bin/named/controlconf.c +++ b/bin/named/controlconf.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: controlconf.c,v 1.46 2005/11/30 03:33:48 marka Exp $ */ +/* $Id: controlconf.c,v 1.47 2005/11/30 03:36:45 marka Exp $ */ /*! \file */ @@ -988,7 +988,7 @@ update_listener(ns_controls_t *cp, result = get_rndckey(listener->mctx, &listener->keys); } - if (result != ISC_R_SUCCESS && global_keylist != NULL) + if (result != ISC_R_SUCCESS && global_keylist != NULL) { /* * This message might be a little misleading since the * "new keys" might in fact be identical to the old ones, @@ -1006,6 +1006,7 @@ update_listener(ns_controls_t *cp, "couldn't install new keys for " "command channel %s: %s", socktext, isc_result_totext(result)); + } /* * Now, keep the old access list unless a new one can be made.