You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2018/08/20 13:26:42 UTC
[trafficserver] branch master updated: fixing spelled enumeration
This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d21db45 fixing spelled enumeration
d21db45 is described below
commit d21db450397c02112f8a8f61988ea20aa0c8962f
Author: dmorilha <dm...@gmail.com>
AuthorDate: Mon Aug 13 14:03:17 2018 -0700
fixing spelled enumeration
---
lib/cppapi/Transaction.cc | 2 +-
lib/cppapi/include/atscppapi/Transaction.h | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/cppapi/Transaction.cc b/lib/cppapi/Transaction.cc
index e4f7c18..5674c09 100644
--- a/lib/cppapi/Transaction.cc
+++ b/lib/cppapi/Transaction.cc
@@ -388,7 +388,7 @@ Transaction::getCacheStatus()
case TS_CACHE_LOOKUP_HIT_FRESH:
return CACHE_LOOKUP_HIT_FRESH;
case TS_CACHE_LOOKUP_SKIPPED:
- return CACHE_LOOKUP_SKIPED;
+ return CACHE_LOOKUP_SKIPPED;
default:
return CACHE_LOOKUP_NONE;
}
diff --git a/lib/cppapi/include/atscppapi/Transaction.h b/lib/cppapi/include/atscppapi/Transaction.h
index eb9fed9..4e42459 100644
--- a/lib/cppapi/include/atscppapi/Transaction.h
+++ b/lib/cppapi/include/atscppapi/Transaction.h
@@ -303,9 +303,11 @@ public:
CACHE_LOOKUP_MISS = 0, /**< The object was not found in the cache */
CACHE_LOOKUP_HIT_STALE, /**< The object was found in cache but stale */
CACHE_LOOKUP_HIT_FRESH, /**< The object was found in cache and was fresh */
- CACHE_LOOKUP_SKIPED, /**< Cache lookup was not performed */
+ CACHE_LOOKUP_SKIPPED, /**< Cache lookup was not performed */
CACHE_LOOKUP_NONE
};
+
+ #define CACHE_LOOKUP_SKIPED CACHE_LOOKUP_SKIPPED
CacheStatus getCacheStatus();