]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 1 Jun 2010 00:12:34 +0000 (18:12 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 1 Jun 2010 00:12:34 +0000 (18:12 -0600)
src/fqdncache.cc
src/ipcache.cc

index 0f0ef39da129ef2352d0ad0e12f2315febad8799..d8c9e7d8690c6c3e927208f5cba4433ac1e945d5 100644 (file)
@@ -535,8 +535,8 @@ fqdncache_nbgethostbyaddr(const Ip::Address &addr, FQDNH * handler, void *handle
     if (name[0] == '\0') {
         debugs(35, 4, "fqdncache_nbgethostbyaddr: Invalid name!");
         const DnsLookupDetails details("Invalid hostname", -1); // error, no lookup
-       if (handler)
-           handler(NULL, details, handlerData);
+        if (handler)
+            handler(NULL, details, handlerData);
         return;
     }
 
index 682a390a2a5a08ef7601a40c86c21f26b7a90117..802b7a1a112c5f0ae4c9820b7403b3d5b2d28573 100644 (file)
@@ -638,8 +638,8 @@ ipcache_nbgethostbyname(const char *name, IPH * handler, void *handlerData)
         debugs(14, 4, "ipcache_nbgethostbyname: Invalid name!");
         IpcacheStats.invalid++;
         const DnsLookupDetails details("Invalid hostname", -1); // error, no lookup
-       if (handler)
-           handler(NULL, details, handlerData);
+        if (handler)
+            handler(NULL, details, handlerData);
         return;
     }
 
@@ -647,8 +647,8 @@ ipcache_nbgethostbyname(const char *name, IPH * handler, void *handlerData)
         debugs(14, 4, "ipcache_nbgethostbyname: BYPASS for '" << name << "' (already numeric)");
         IpcacheStats.numeric_hits++;
         const DnsLookupDetails details(NULL, -1); // no error, no lookup
-       if (handler)
-           handler(addrs, details, handlerData);
+        if (handler)
+            handler(addrs, details, handlerData);
         return;
     }