]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 18 Apr 2011 05:33:13 +0000 (23:33 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 18 Apr 2011 05:33:13 +0000 (23:33 -0600)
src/ProtoPort.cc
src/forward.cc
src/helper.cc
src/ssl/Config.cc

index eb06ca7cbf69ea6293576ab7dfd2d8f54302032f..792a05216f15ee6acbc58a92b764a17cdfc1127d 100644 (file)
@@ -13,7 +13,7 @@
 http_port_list::http_port_list(const char *aProtocol)
 #if USE_SSL
         :
-    http(*this), dynamicCertMemCacheSize(std::numeric_limits<size_t>::max())
+        http(*this), dynamicCertMemCacheSize(std::numeric_limits<size_t>::max())
 #endif
 {
     protocol = xstrdup(aProtocol);
index deb3d4ec9b111458fd3c05b51a465dc6bc8507b0..4eeb57bd5351b5c5dd980c7925f814913812a422 100644 (file)
@@ -51,7 +51,7 @@
 #if USE_SSL
 #include "ssl_support.h"
 #include "ssl/ErrorDetail.h"
- #endif
+#endif
 
 static PSC fwdStartCompleteWrapper;
 static PF fwdServerClosedWrapper;
@@ -610,7 +610,7 @@ FwdState::negotiateSSL(int fd)
 #endif
 
             Ssl::ErrorDetail *errFromFailure = (Ssl::ErrorDetail *)SSL_get_ex_data(ssl, ssl_ex_index_ssl_error_detail);
-            if (errFromFailure != NULL){
+            if (errFromFailure != NULL) {
                 // The errFromFailure is attached to the ssl object
                 // and will be released when ssl object destroyed.
                 // Copy errFromFailure to a new Ssl::ErrorDetail object
index 7d13a7c28f9022fb1e95fa1fa671818bbf73835e..ea367d1c610b29fa8cdd9b735125df8176d9b8eb 100644 (file)
@@ -863,8 +863,8 @@ static void helperReturnBuffer(int request_number, helper_server * srv, helper *
 
         hlp->stats.avg_svc_time =
             Math::intAverage(hlp->stats.avg_svc_time,
-                       tvSubMsec(r->dispatch_time, current_time),
-                       hlp->stats.replies, REDIRECT_AV_FACTOR);
+                             tvSubMsec(r->dispatch_time, current_time),
+                             hlp->stats.replies, REDIRECT_AV_FACTOR);
 
         helperRequestFree(r);
     } else {
index 17f60568a89d38e7bdb58a5106c215532bbe079b..1e5e7be0d8e1466afe490d60ad0706a1eafa52c3 100644 (file)
@@ -9,8 +9,8 @@ Ssl::Config Ssl::TheConfig;
 Ssl::Config::Config()
 #if USE_SSL_CRTD
         :
-    ssl_crtd(NULL),
-    ssl_crtd_n_running(5)
+        ssl_crtd(NULL),
+        ssl_crtd_n_running(5)
 #endif
 {
 }