mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:09:59 -04:00
missing braces; style glitch
This commit is contained in:
parent
7180f7f5df
commit
970aa7d783
1 changed files with 6 additions and 5 deletions
|
|
@ -2278,11 +2278,12 @@ dns_dispatchmgr_setudp(dns_dispatchmgr_t *mgr,
|
|||
|
||||
/* Create or adjust socket pool */
|
||||
if (mgr->spool != NULL) {
|
||||
if (maxrequests < DNS_DISPATCH_POOLSOCKS * 2)
|
||||
isc_mempool_setmaxalloc(mgr->spool,
|
||||
DNS_DISPATCH_POOLSOCKS * 2);
|
||||
isc_mempool_setfreemax(mgr->spool,
|
||||
DNS_DISPATCH_POOLSOCKS * 2);
|
||||
if (maxrequests < DNS_DISPATCH_POOLSOCKS * 2) {
|
||||
isc_mempool_setmaxalloc(mgr->spool,
|
||||
DNS_DISPATCH_POOLSOCKS * 2);
|
||||
isc_mempool_setfreemax(mgr->spool,
|
||||
DNS_DISPATCH_POOLSOCKS * 2);
|
||||
}
|
||||
UNLOCK(&mgr->buffer_lock);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue