From a8e12e18947df18b5ea909ec962670c89c807de1 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 5 Feb 1997 02:25:28 +0000 Subject: [PATCH] clarify if-elseif-else --- src/ipcache.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.47.2