From: Automatic source maintenance Date: Mon, 18 Apr 2011 05:33:13 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_1_12_1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4e0dc3736278e18303c7eaa3c4e61b751e7e1a4;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/ProtoPort.cc b/src/ProtoPort.cc index eb06ca7cbf..792a05216f 100644 --- a/src/ProtoPort.cc +++ b/src/ProtoPort.cc @@ -13,7 +13,7 @@ http_port_list::http_port_list(const char *aProtocol) #if USE_SSL : - http(*this), dynamicCertMemCacheSize(std::numeric_limits::max()) + http(*this), dynamicCertMemCacheSize(std::numeric_limits::max()) #endif { protocol = xstrdup(aProtocol); diff --git a/src/forward.cc b/src/forward.cc index deb3d4ec9b..4eeb57bd53 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -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 diff --git a/src/helper.cc b/src/helper.cc index 7d13a7c28f..ea367d1c61 100644 --- a/src/helper.cc +++ b/src/helper.cc @@ -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 { diff --git a/src/ssl/Config.cc b/src/ssl/Config.cc index 17f60568a8..1e5e7be0d8 100644 --- a/src/ssl/Config.cc +++ b/src/ssl/Config.cc @@ -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 { }