* 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.
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;
}