whitespace fixes, problem with util/tube.c pointed out by jsg (probably
authorsthen <sthen@openbsd.org>
Wed, 6 Sep 2023 09:08:04 +0000 (09:08 +0000)
committersthen <sthen@openbsd.org>
Wed, 6 Sep 2023 09:08:04 +0000 (09:08 +0000)
introduced by the diff/patch process I use to avoid stomping on the local
changes in updates)

usr.sbin/unbound/daemon/daemon.c
usr.sbin/unbound/sldns/rrdef.h
usr.sbin/unbound/util/tube.c

index 31b8cf2..193608d 100644 (file)
@@ -828,8 +828,8 @@ daemon_cleanup(struct daemon* daemon)
         * defer the cleanup until we know whether the new configuration allows
         * the reuse.  (If we're exiting, cleanup should be done here). */
        if(!daemon->reuse_cache || daemon->need_to_exit) {
-       slabhash_clear(&daemon->env->rrset_cache->table);
-       slabhash_clear(daemon->env->msg_cache);
+               slabhash_clear(&daemon->env->rrset_cache->table);
+               slabhash_clear(daemon->env->msg_cache);
        }
        daemon->old_num = daemon->num; /* save the current num */
        local_zones_delete(daemon->local_zones);
index 1a5091d..f277fd6 100644 (file)
@@ -196,8 +196,8 @@ enum sldns_enum_rr_type
        LDNS_RR_TYPE_OPENPGPKEY = 61, /* RFC 7929 */
        LDNS_RR_TYPE_CSYNC = 62, /* RFC 7477 */
        LDNS_RR_TYPE_ZONEMD = 63, /* draft-ietf-dnsop-dns-zone-digest-12 */
-    LDNS_RR_TYPE_SVCB = 64, /* draft-ietf-dnsop-svcb-https-04 */
-    LDNS_RR_TYPE_HTTPS = 65, /* draft-ietf-dnsop-svcb-https-04 */
+       LDNS_RR_TYPE_SVCB = 64, /* draft-ietf-dnsop-svcb-https-04 */
+       LDNS_RR_TYPE_HTTPS = 65, /* draft-ietf-dnsop-svcb-https-04 */
 
        LDNS_RR_TYPE_SPF = 99, /* RFC 4408 */
 
index 4881d80..7d98b93 100644 (file)
@@ -420,7 +420,7 @@ pollit(int fd, struct timeval* t)
                return 0;
        if(pret != 0)
                return 1;
-               return 0;
+       return 0;
 }
 
 int tube_poll(struct tube* tube)