From 970aa7d783b004d0f665d7107260a823a0d2a645 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 3 May 2012 14:01:32 -0700 Subject: [PATCH] missing braces; style glitch --- lib/dns/dispatch.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index b05cea6b5a..50ea25c442 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -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); }