You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/09/11 21:40:22 UTC

git commit: TS-3071: build fix

Repository: trafficserver
Updated Branches:
  refs/heads/master 7229900ac -> 43a5631e8


TS-3071: build fix


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

Branch: refs/heads/master
Commit: 43a5631e8d9122849fb318e0ed8e0e1d78358305
Parents: 7229900
Author: James Peach <jp...@apache.org>
Authored: Thu Sep 11 12:39:38 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Thu Sep 11 12:40:18 2014 -0700

----------------------------------------------------------------------
 plugins/stats_over_http/stats_over_http.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/43a5631e/plugins/stats_over_http/stats_over_http.c
----------------------------------------------------------------------
diff --git a/plugins/stats_over_http/stats_over_http.c b/plugins/stats_over_http/stats_over_http.c
index 96fb63a..720a7e7 100644
--- a/plugins/stats_over_http/stats_over_http.c
+++ b/plugins/stats_over_http/stats_over_http.c
@@ -294,11 +294,11 @@ TSPluginInit(int argc, const char *argv[])
 
   optind = 0;
   for (;;) {
-    switch (getopt_long(argc, (char * const *)argv, "i", longopts, NULL)) {
+    switch (getopt_long(argc, (char * const *)argv, "iw", longopts, NULL)) {
     case 'i':
       integer_counters = true;
       break;
-    case 'i':
+    case 'w':
       wrap_counters = true;
       break;
     case -1: