Updated Branches: refs/heads/master 5cc64bf45 -> a407f5f98
TS-2459 Fix wrong name for a couple of librecord APIs. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a19a444c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a19a444c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a19a444c Branch: refs/heads/master Commit: a19a444c266cbf6c6ed2edd1bc12d31dd603a8e8 Parents: 5cc64bf Author: Yu Qing <[email protected]> Authored: Tue Dec 31 11:26:59 2013 -0700 Committer: Leif Hedstrom <[email protected]> Committed: Tue Dec 31 11:26:59 2013 -0700 ---------------------------------------------------------------------- lib/records/I_RecCore.h | 8 ++++---- lib/records/RecCore.cc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a19a444c/lib/records/I_RecCore.h ---------------------------------------------------------------------- diff --git a/lib/records/I_RecCore.h b/lib/records/I_RecCore.h index 39d2e9d..4b3088c 100644 --- a/lib/records/I_RecCore.h +++ b/lib/records/I_RecCore.h @@ -100,8 +100,8 @@ int RecRegisterConfigCounter(RecT rec_type, const char *name, //------------------------------------------------------------------------- int RecLinkConfigInt(const char *name, RecInt * rec_int); -int RecLinkConfigInk32(const char *name, int32_t * p_int32); -int RecLinkConfigInkU32(const char *name, uint32_t * p_uint32); +int RecLinkConfigInt32(const char *name, int32_t * p_int32); +int RecLinkConfigUInt32(const char *name, uint32_t * p_uint32); int RecLinkConfigFloat(const char *name, RecFloat * rec_float); int RecLinkConfigCounter(const char *name, RecCounter * rec_counter); int RecLinkConfigString(const char *name, RecString * rec_string); @@ -199,12 +199,12 @@ void RecSignalManager(int, const char *); } while (0) #define REC_EstablishStaticConfigInt32(_var, _config_var_name) do { \ - RecLinkConfigInk32(_config_var_name, &_var); \ + RecLinkConfigInt32(_config_var_name, &_var); \ _var = (int32_t)REC_ConfigReadInteger(_config_var_name); \ } while (0) #define REC_EstablishStaticConfigInt32U(_var, _config_var_name) do { \ - RecLinkConfigInkU32(_config_var_name, &_var); \ + RecLinkConfigUInt32(_config_var_name, &_var); \ _var = (int32_t)REC_ConfigReadInteger(_config_var_name); \ } while (0) http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a19a444c/lib/records/RecCore.cc ---------------------------------------------------------------------- diff --git a/lib/records/RecCore.cc b/lib/records/RecCore.cc index b81b3d1..532aecc 100644 --- a/lib/records/RecCore.cc +++ b/lib/records/RecCore.cc @@ -228,13 +228,13 @@ RecLinkConfigInt(const char *name, RecInt * rec_int) } int -RecLinkConfigInk32(const char *name, int32_t * p_int32) +RecLinkConfigInt32(const char *name, int32_t * p_int32) { return RecRegisterConfigUpdateCb(name, link_int32, (void *) p_int32); } int -RecLinkConfigInkU32(const char *name, uint32_t * p_uint32) +RecLinkConfigUInt32(const char *name, uint32_t * p_uint32) { return RecRegisterConfigUpdateCb(name, link_uint32, (void *) p_uint32); }
