]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence ambigious else
authorMark Andrews <marka@isc.org>
Wed, 30 Nov 2005 03:36:45 +0000 (03:36 +0000)
committerMark Andrews <marka@isc.org>
Wed, 30 Nov 2005 03:36:45 +0000 (03:36 +0000)
bin/named/controlconf.c

index d11809e0daa73d6f9fa2d7d3a9b4b72cc35b92e3..57f894bf08b2c62d8b04891a3132f26671597a19 100644 (file)
@@ -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.