From e4e0dc3736278e18303c7eaa3c4e61b751e7e1a4 Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Sun, 17 Apr 2011 23:33:13 -0600 Subject: [PATCH] SourceFormat Enforcement --- src/ProtoPort.cc | 2 +- src/forward.cc | 4 ++-- src/helper.cc | 4 ++-- src/ssl/Config.cc | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) 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 { } -- 2.47.3