This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9e85e2e Run clang-format on ParentSelection.
9e85e2e is described below
commit 9e85e2e8493ee484af8f8ade659fc52d04fc73bb
Author: James Peach <[email protected]>
AuthorDate: Fri Apr 29 09:10:14 2016 -0700
Run clang-format on ParentSelection.
---
proxy/ParentSelection.cc | 6 ++----
proxy/ParentSelection.h | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/proxy/ParentSelection.cc b/proxy/ParentSelection.cc
index 9526074..a439a27 100644
--- a/proxy/ParentSelection.cc
+++ b/proxy/ParentSelection.cc
@@ -192,8 +192,7 @@ ParentConfigParams::nextParent(HttpRequestData *rdata,
ParentResult *result)
{
P_table *tablePtr = parent_table;
- Debug("parent_select", "ParentConfigParams::nextParent(): parent_table: %p,
result->rec: %p",
- parent_table, result->rec);
+ Debug("parent_select", "ParentConfigParams::nextParent(): parent_table: %p,
result->rec: %p", parent_table, result->rec);
// Make sure that we are being called back with a
// result structure with a parent
@@ -209,8 +208,7 @@ ParentConfigParams::nextParent(HttpRequestData *rdata,
ParentResult *result)
result->r = PARENT_FAIL;
return;
}
- Debug("parent_select", "ParentConfigParams::nextParent(): result->r: %d,
tablePtr: %p",
- result->r, tablePtr);
+ Debug("parent_select", "ParentConfigParams::nextParent(): result->r: %d,
tablePtr: %p", result->r, tablePtr);
// Find the next parent in the array
Debug("parent_select", "Calling selectParent() from nextParent");
diff --git a/proxy/ParentSelection.h b/proxy/ParentSelection.h
index b52cabd..79c8b5e 100644
--- a/proxy/ParentSelection.h
+++ b/proxy/ParentSelection.h
@@ -159,8 +159,8 @@ ParentRecord *const extApiRecord = (ParentRecord
*)0xeeeeffff;
struct ParentResult {
ParentResult()
- : r(PARENT_UNDEFINED), hostname(NULL), port(0), retry(false),
line_number(0), rec(NULL), last_parent(0),
- start_parent(0), wrap_around(false), last_lookup(0)
+ : r(PARENT_UNDEFINED), hostname(NULL), port(0), retry(false),
line_number(0), rec(NULL), last_parent(0), start_parent(0),
+ wrap_around(false), last_lookup(0)
{
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].