You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/07/31 20:54:11 UTC
[trafficserver] 01/05: Clarifies alternate # selected in log output
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 6ef4915f25783178a002d956ef70bd4b37c90d7d
Author: Randall Meyer <ra...@yahoo.com>
AuthorDate: Tue Jul 3 13:08:08 2018 -0700
Clarifies alternate # selected in log output
Addresses issue #3914
(cherry picked from commit 4813721fd6ca9cca65034e3be187acafe8963da2)
---
proxy/http/HttpTransactCache.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/http/HttpTransactCache.cc b/proxy/http/HttpTransactCache.cc
index 70f2d76..fa735a3 100644
--- a/proxy/http/HttpTransactCache.cc
+++ b/proxy/http/HttpTransactCache.cc
@@ -257,7 +257,7 @@ HttpTransactCache::SelectFromAlternates(CacheHTTPInfoVector *cache_vector, HTTPH
Debug("http_seq", "[SelectFromAlternates] Chosen alternate # %d", best_index);
if (is_debug_tag_set("http_alts")) {
ACQUIRE_PRINT_LOCK()
- fprintf(stderr, "[alts] and the winner is alternate number %d\n", best_index + 1);
+ fprintf(stderr, "[alts] and the winner is alternate number %d\n", best_index);
RELEASE_PRINT_LOCK()
}