You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/12/20 00:36:48 UTC
trafficserver git commit: TS-4089: clang-format
Repository: trafficserver
Updated Branches:
refs/heads/master f3cb1a06d -> f8a01b8ef
TS-4089: clang-format
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f8a01b8e
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f8a01b8e
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f8a01b8e
Branch: refs/heads/master
Commit: f8a01b8efd2abcd659504ac9879a7e0ad13df1a9
Parents: f3cb1a0
Author: Phil Sorber <so...@apache.org>
Authored: Sat Dec 19 16:36:29 2015 -0700
Committer: Phil Sorber <so...@apache.org>
Committed: Sat Dec 19 16:36:29 2015 -0700
----------------------------------------------------------------------
proxy/ParentSelection.cc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f8a01b8e/proxy/ParentSelection.cc
----------------------------------------------------------------------
diff --git a/proxy/ParentSelection.cc b/proxy/ParentSelection.cc
index a7a0c68..f4e9ebb 100644
--- a/proxy/ParentSelection.cc
+++ b/proxy/ParentSelection.cc
@@ -87,8 +87,7 @@ ParentSelectionPolicy::ParentSelectionPolicy()
DNS_ParentOnly = dns_parent_only;
}
-ParentConfigParams::ParentConfigParams(P_table *_parent_table)
- : parent_table(_parent_table), DefaultParent(NULL), policy()
+ParentConfigParams::ParentConfigParams(P_table *_parent_table) : parent_table(_parent_table), DefaultParent(NULL), policy()
{
char *default_val = NULL;
@@ -834,8 +833,8 @@ EXCLUSIVE_REGRESSION_TEST(PARENTSELECTION)(RegressionTest * /* t ATS_UNUSED */,
ALLOW_HOST_TABLE | ALLOW_REGEX_TABLE | ALLOW_URL_TABLE | ALLOW_IP_TABLE | DONT_BUILD_TABLE); \
ParentTable->BuildTableFromString(tbl); \
params = new ParentConfigParams(ParentTable); \
- params->policy.FailThreshold = 1; \
- params->policy.ParentEnable = true; \
+ params->policy.FailThreshold = 1; \
+ params->policy.ParentEnable = true; \
params->policy.ParentRetryTime = 5;
HttpRequestData *request = NULL;
ParentResult *result = NULL;