mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
fix whitespaces
This commit is contained in:
parent
b4aa7a9d7e
commit
013a49474c
@ -5420,7 +5420,7 @@ expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) {
|
||||
* XXXDCL Could stand to have a better policy, like LRU.
|
||||
*/
|
||||
force_expire = ISC_TF(rbtnode->down == NULL &&
|
||||
(isc_random32() % 4) == 0);
|
||||
(isc_random32() % 4) == 0);
|
||||
|
||||
/*
|
||||
* Note that 'log' can be true IFF overmem is also true.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user