trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: Comment out currently unused code.
Date Sun, 04 Jan 2015 21:49:13 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master de82c174a -> 6b3bbe793


Comment out currently unused code.

Coverity CID #1021668


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6b3bbe79
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6b3bbe79
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6b3bbe79

Branch: refs/heads/master
Commit: 6b3bbe79311dd33447b5c6bdd7faf045a0b060a4
Parents: de82c17
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Sun Jan 4 14:48:56 2015 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Sun Jan 4 14:48:56 2015 -0700

----------------------------------------------------------------------
 tools/http_load/http_load.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6b3bbe79/tools/http_load/http_load.c
----------------------------------------------------------------------
diff --git a/tools/http_load/http_load.c b/tools/http_load/http_load.c
index c778c04..43603bc 100644
--- a/tools/http_load/http_load.c
+++ b/tools/http_load/http_load.c
@@ -951,8 +951,11 @@ start_connection(struct timeval *nowP)
         cycle_slot = 0;
       if (prev_cycle_slot == cycle_slot) {
         return;
+#if 0        
+        /* Unused right now, not sure why */
         printf("Warning: cycling through all socket slots\n");
         tmr_run(nowP);
+#endif
       }
       if (connections[cycle_slot].conn_state == CNST_FREE) {
         /* Choose a URL. */


Mime
View raw message