From: wessels <> Date: Wed, 5 Feb 1997 02:25:28 +0000 (+0000) Subject: clarify if-elseif-else X-Git-Tag: SQUID_3_0_PRE1~5141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8e12e18947df18b5ea909ec962670c89c807de1;p=thirdparty%2Fsquid.git clarify if-elseif-else --- diff --git a/src/ipcache.cc b/src/ipcache.cc index 3cfaff2fb5..b58bfe86a6 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,6 +1,6 @@ /* - * $Id: ipcache.cc,v 1.98 1997/01/22 18:12:59 wessels Exp $ + * $Id: ipcache.cc,v 1.99 1997/02/04 19:25:28 wessels Exp $ * * DEBUG: section 14 IP Cache * AUTHOR: Harvest Derived @@ -699,11 +699,11 @@ ipcache_nbgethostbyname(const char *name, int fd, IPH handler, void *handlerData /* for HIT, PENDING, DISPATCHED we've returned. For MISS we continue */ - if ((dnsData = dnsGetFirstAvailable())) + if ((dnsData = dnsGetFirstAvailable())) { ipcache_dnsDispatch(dnsData, i); - else if (NDnsServersAlloc > 0) + } else if (NDnsServersAlloc > 0) { ipcacheEnqueue(i); - else { + } else { ipcache_gethostbyname(name, IP_BLOCKING_LOOKUP); ipcache_call_pending(i); }