trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch 8.0.x updated: fix typo
Date Fri, 31 Aug 2018 16:02:59 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.0.x by this push:
     new 842cddf  fix typo
842cddf is described below

commit 842cddfc5890f82895c9040037267be2bf899954
Author: Fei Deng <duke8253@gmail.com>
AuthorDate: Thu Aug 16 16:25:36 2018 -0500

    fix typo
    
    (cherry picked from commit 347eb8b0891f4c40e5f876268de3569a84a64bfc)
---
 lib/records/P_RecUtils.h   | 2 +-
 lib/records/RecRawStats.cc | 6 +++---
 lib/records/RecUtils.cc    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/records/P_RecUtils.h b/lib/records/P_RecUtils.h
index 45b23b0..c810144 100644
--- a/lib/records/P_RecUtils.h
+++ b/lib/records/P_RecUtils.h
@@ -53,7 +53,7 @@ void RecDataZero(RecDataT type, RecData *data);
 void RecDataSetMax(RecDataT type, RecData *data);
 void RecDataSetMin(RecDataT type, RecData *data);
 bool RecDataSet(RecDataT data_type, RecData *data_dst, RecData *data_src);
-bool RecDataSetFromInk64(RecDataT data_type, RecData *data_dst, int64_t data_int64);
+bool RecDataSetFromInt64(RecDataT data_type, RecData *data_dst, int64_t data_int64);
 bool RecDataSetFromFloat(RecDataT data_type, RecData *data_dst, float data_float);
 bool RecDataSetFromString(RecDataT data_type, RecData *data_dst, const char *data_string);
 int RecDataCmp(RecDataT type, RecData left, RecData right);
diff --git a/lib/records/RecRawStats.cc b/lib/records/RecRawStats.cc
index 4c9038f..851a8e7 100644
--- a/lib/records/RecRawStats.cc
+++ b/lib/records/RecRawStats.cc
@@ -300,7 +300,7 @@ RecRawStatSyncSum(const char *name, RecDataT data_type, RecData *data,
RecRawSta
   raw_stat_sync_to_global(rsb, id);
   total.sum   = rsb->global[id]->sum;
   total.count = rsb->global[id]->count;
-  RecDataSetFromInk64(data_type, data, total.sum);
+  RecDataSetFromInt64(data_type, data, total.sum);
 
   return REC_ERR_OKAY;
 }
@@ -314,7 +314,7 @@ RecRawStatSyncCount(const char *name, RecDataT data_type, RecData *data,
RecRawS
   raw_stat_sync_to_global(rsb, id);
   total.sum   = rsb->global[id]->sum;
   total.count = rsb->global[id]->count;
-  RecDataSetFromInk64(data_type, data, total.count);
+  RecDataSetFromInt64(data_type, data, total.count);
 
   return REC_ERR_OKAY;
 }
@@ -602,7 +602,7 @@ RecRawStatUpdateSum(RecRawStatBlock *rsb, int id)
                                                  (reinterpret_cast<char *>(&reinterpret_cast<RecRecord
*>(0)->stat_meta) -
                                                   reinterpret_cast<char *>(reinterpret_cast<RecRecord
*>(0))));
 
-    RecDataSetFromInk64(r->data_type, &r->data, rsb->global[id]->sum);
+    RecDataSetFromInt64(r->data_type, &r->data, rsb->global[id]->sum);
     r->sync_required = REC_SYNC_REQUIRED;
     return REC_ERR_OKAY;
   }
diff --git a/lib/records/RecUtils.cc b/lib/records/RecUtils.cc
index bf7d1c0..cba7a68 100644
--- a/lib/records/RecUtils.cc
+++ b/lib/records/RecUtils.cc
@@ -279,10 +279,10 @@ RecDataDiv(RecDataT type, RecData left, RecData right)
 }
 
 //-------------------------------------------------------------------------
-// RecDataSetFromInk64
+// RecDataSetFromInt64
 //-------------------------------------------------------------------------
 bool
-RecDataSetFromInk64(RecDataT data_type, RecData *data_dst, int64_t data_int64)
+RecDataSetFromInt64(RecDataT data_type, RecData *data_dst, int64_t data_int64)
 {
   RecData data_src;
 


Mime
View raw message