You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/01/23 02:45:16 UTC

trafficserver git commit: TS-153: Forgot to add the abort after removing the assert when a stat can't be fetched in traffic_top

Repository: trafficserver
Updated Branches:
  refs/heads/master 9763a7f87 -> b48c343e6


TS-153: Forgot to add the abort after removing the assert when a stat
can't be fetched in traffic_top


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

Branch: refs/heads/master
Commit: b48c343e6bbc58527b875fef31cbc1c8349fc650
Parents: 9763a7f
Author: Bryan Call <bc...@apache.org>
Authored: Thu Jan 22 17:44:08 2015 -0800
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Jan 22 17:44:08 2015 -0800

----------------------------------------------------------------------
 cmd/traffic_top/stats.h | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b48c343e/cmd/traffic_top/stats.h
----------------------------------------------------------------------
diff --git a/cmd/traffic_top/stats.h b/cmd/traffic_top/stats.h
index 64dc5bf..06ab653 100644
--- a/cmd/traffic_top/stats.h
+++ b/cmd/traffic_top/stats.h
@@ -254,6 +254,7 @@ public:
             if (TSRecordGetInt(item.name, &value) != TS_ERR_OKAY) {
               fprintf(stderr, "Error getting stat: %s when calling TSRecordGetInt() failed: file \"%s\", line %d\n\n",
                   item.name, __FILE__, __LINE__);
+              abort();
             }
             string key = item.name;
             char buffer[32];