- tpkg test for retry in TCP mode, against ldns-testns server.
- daemon checks max number of open files and complains if not enough.
- test where data expires in the cache.
+ - compiletests: fixed empty body ifstatements in alloc.c, in case
+ locks are disabled.
8 May 2007: Wouter
- outgoing network keeps list of available tcp buffers for outgoing
log_assert(alloc);
if(!mem)
return;
- if(!alloc->super) /* superalloc needs locking */
- lock_quick_lock(&alloc->lock);
+ if(!alloc->super) {
+ lock_quick_lock(&alloc->lock); /* superalloc needs locking */
+ }
alloc_special_clean(mem);
if(alloc->super && alloc->num_quar >= ALLOC_SPECIAL_MAX) {
alloc_set_special_next(mem, alloc->quar);
alloc->quar = mem;
alloc->num_quar++;
- if(!alloc->super)
+ if(!alloc->super) {
lock_quick_unlock(&alloc->lock);
+ }
}
void