trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: Clarifies alternate # selected in log output
Date Thu, 05 Jul 2018 18:46:34 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 4813721  Clarifies alternate # selected in log output
4813721 is described below

commit 4813721fd6ca9cca65034e3be187acafe8963da2
Author: Randall Meyer <randallmeyer@yahoo.com>
AuthorDate: Tue Jul 3 13:08:08 2018 -0700

    Clarifies alternate # selected in log output
    
    Addresses issue #3914
---
 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()
   }
 


Mime
View raw message