From 78e1d7cdde8ba174e8b0598cdca5b1d914ed9e01 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 23 Nov 2017 16:09:27 +1100 Subject: [PATCH] style --- bin/named/server.c | 2 +- lib/dns/rbtdb.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index 0972a83a64..14f6bcfebe 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -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) { /* diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 42b8ea8049..a8e96d42c2 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -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); }