diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index ab586dab7b..e332802fc3 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -5419,8 +5419,8 @@ expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { * Force expire with 25% probability. * XXXDCL Could stand to have a better policy, like LRU. */ - force_expire = ISC_TF(rbtnode->down == NULL && - (isc_random32() % 4) == 0); + force_expire = ISC_TF(rbtnode->down == NULL && + (isc_random32() % 4) == 0); /* * Note that 'log' can be true IFF overmem is also true. diff --git a/lib/isc/random.c b/lib/isc/random.c index 9e78878170..13bca5d994 100644 --- a/lib/isc/random.c +++ b/lib/isc/random.c @@ -104,13 +104,13 @@ isc_random_buf(void *buf, size_t buflen) { for (i = 0; i + sizeof(r) <= buflen; i += sizeof(r)) { r = next(); memmove((uint8_t *)buf + i, &r, sizeof(r)); /* Buffers cannot - * really overlap - * here */ + * really overlap + * here */ } r = next(); memmove((uint8_t *)buf + i, &r, buflen % sizeof(r)); /* Buffer cannot - * really overlap - * here */ + * really overlap + * here */ return; }