mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
missing braces; style glitch
This commit is contained in:
@@ -2278,11 +2278,12 @@ dns_dispatchmgr_setudp(dns_dispatchmgr_t *mgr,
|
|||||||
|
|
||||||
/* Create or adjust socket pool */
|
/* Create or adjust socket pool */
|
||||||
if (mgr->spool != NULL) {
|
if (mgr->spool != NULL) {
|
||||||
if (maxrequests < DNS_DISPATCH_POOLSOCKS * 2)
|
if (maxrequests < DNS_DISPATCH_POOLSOCKS * 2) {
|
||||||
isc_mempool_setmaxalloc(mgr->spool,
|
isc_mempool_setmaxalloc(mgr->spool,
|
||||||
DNS_DISPATCH_POOLSOCKS * 2);
|
DNS_DISPATCH_POOLSOCKS * 2);
|
||||||
isc_mempool_setfreemax(mgr->spool,
|
isc_mempool_setfreemax(mgr->spool,
|
||||||
DNS_DISPATCH_POOLSOCKS * 2);
|
DNS_DISPATCH_POOLSOCKS * 2);
|
||||||
|
}
|
||||||
UNLOCK(&mgr->buffer_lock);
|
UNLOCK(&mgr->buffer_lock);
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user