]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
clarify if-elseif-else
authorwessels <>
Wed, 5 Feb 1997 02:25:28 +0000 (02:25 +0000)
committerwessels <>
Wed, 5 Feb 1997 02:25:28 +0000 (02:25 +0000)
src/ipcache.cc

index 3cfaff2fb53752b8f176d7764205741c60085739..b58bfe86a6da8ccf1787475e7e0a4cc7d1d0abb2 100644 (file)
@@ -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);
     }