From: sthen Date: Wed, 6 Sep 2023 09:08:04 +0000 (+0000) Subject: whitespace fixes, problem with util/tube.c pointed out by jsg (probably X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=24a70d126c67b19e60de8590f9d6cf40939dc216;p=openbsd whitespace fixes, problem with util/tube.c pointed out by jsg (probably introduced by the diff/patch process I use to avoid stomping on the local changes in updates) --- diff --git a/usr.sbin/unbound/daemon/daemon.c b/usr.sbin/unbound/daemon/daemon.c index 31b8cf2f909..193608d40e0 100644 --- a/usr.sbin/unbound/daemon/daemon.c +++ b/usr.sbin/unbound/daemon/daemon.c @@ -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); diff --git a/usr.sbin/unbound/sldns/rrdef.h b/usr.sbin/unbound/sldns/rrdef.h index 1a5091d062a..f277fd67ab5 100644 --- a/usr.sbin/unbound/sldns/rrdef.h +++ b/usr.sbin/unbound/sldns/rrdef.h @@ -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 */ diff --git a/usr.sbin/unbound/util/tube.c b/usr.sbin/unbound/util/tube.c index 4881d80d954..7d98b93c375 100644 --- a/usr.sbin/unbound/util/tube.c +++ b/usr.sbin/unbound/util/tube.c @@ -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)