Repository: trafficserver Updated Branches: refs/heads/master 238e30e55 -> 974a267fb
Argh, fix compilation errors after my indentation fixes ... Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/974a267f Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/974a267f Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/974a267f Branch: refs/heads/master Commit: 974a267fbec42d1e29ba63f3968be17549cbe5d7 Parents: 238e30e Author: Leif Hedstrom <[email protected]> Authored: Mon Oct 27 15:30:44 2014 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Mon Oct 27 15:30:44 2014 -0600 ---------------------------------------------------------------------- plugins/experimental/remap_stats/remap_stats.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/974a267f/plugins/experimental/remap_stats/remap_stats.c ---------------------------------------------------------------------- diff --git a/plugins/experimental/remap_stats/remap_stats.c b/plugins/experimental/remap_stats/remap_stats.c index 8d68ad3..5efd52d 100644 --- a/plugins/experimental/remap_stats/remap_stats.c +++ b/plugins/experimental/remap_stats/remap_stats.c @@ -190,14 +190,14 @@ handle_txn_close(TSCont cont, TSEvent event ATS_UNUSED, void *edata) in_bytes = TSHttpTxnClientReqHdrBytesGet(txn); in_bytes += TSHttpTxnClientReqBodyBytesGet(txn); - CREATE_STAT_NAME(stat_name, remap, "in_bytes") - stat_add(stat_name, (TSMgmtInt) in_bytes, config->persist_type, config->stat_creation_mutex); + CREATE_STAT_NAME(stat_name, remap, "in_bytes"); + stat_add(stat_name, (TSMgmtInt) in_bytes, config->persist_type, config->stat_creation_mutex); out_bytes = TSHttpTxnClientRespHdrBytesGet(txn); out_bytes += TSHttpTxnClientRespBodyBytesGet(txn); - CREATE_STAT_NAME(stat_name, remap, "out_bytes") - stat_add(stat_name, (TSMgmtInt) out_bytes, config->persist_type, config->stat_creation_mutex); + CREATE_STAT_NAME(stat_name, remap, "out_bytes"); + stat_add(stat_name, (TSMgmtInt) out_bytes, config->persist_type, config->stat_creation_mutex); if (TSHttpTxnClientRespGet(txn, &buf, &hdr_loc) == TS_SUCCESS) { status_code = (int) TSHttpHdrStatusGet(buf, hdr_loc); @@ -218,8 +218,8 @@ handle_txn_close(TSCont cont, TSEvent event ATS_UNUSED, void *edata) stat_add(stat_name, 1, config->persist_type, config->stat_creation_mutex); } else { - CREATE_STAT_NAME(stat_name, remap, "status_unknown") - stat_add(stat_name, 1, config->persist_type, config->stat_creation_mutex); + CREATE_STAT_NAME(stat_name, remap, "status_unknown"); + stat_add(stat_name, 1, config->persist_type, config->stat_creation_mutex); } if (remap != unknown)
