]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
style
authorMark Andrews <marka@isc.org>
Thu, 23 Nov 2017 05:09:27 +0000 (16:09 +1100)
committerMark Andrews <marka@isc.org>
Thu, 23 Nov 2017 05:09:27 +0000 (16:09 +1100)
bin/named/server.c
lib/dns/rbtdb.c

index 0972a83a64cdf80dbdec6fd2060f586e8354999f..14f6bcfebef5dd3d10f198c8daf58bcf3e5209f4 100644 (file)
@@ -6016,7 +6016,7 @@ configure_zone(const cfg_obj_t *config, const cfg_obj_t *zconfig,
         * Add the zone to its view in the new view list.
         */
        if (!modify)
-       CHECK(dns_view_addzone(view, zone));
+               CHECK(dns_view_addzone(view, zone));
 
        if (zone_is_catz) {
                /*
index 42b8ea8049cab3a7c9494fb379292e39b75b127f..a8e96d42c26a08ea3708f1b68fcbb5084b5358cd 100644 (file)
@@ -8279,7 +8279,7 @@ setservestalettl(dns_db_t *db, dns_ttl_t ttl) {
 
        /* currently no bounds checking.  0 means disable. */
        rbtdb->serve_stale_ttl = ttl;
-       return ISC_R_SUCCESS;
+       return (ISC_R_SUCCESS);
 }
 
 static isc_result_t
@@ -8290,7 +8290,7 @@ getservestalettl(dns_db_t *db, dns_ttl_t *ttl) {
        REQUIRE(IS_CACHE(rbtdb));
 
        *ttl = rbtdb->serve_stale_ttl;
-       return ISC_R_SUCCESS;
+       return (ISC_R_SUCCESS);
 }