You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zz...@apache.org on 2019/08/29 06:39:40 UTC
[trafficserver] 03/06: fix typo issue
This is an automated email from the ASF dual-hosted git repository.
zzz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 16ddd19307dc8a04a05bf5cbe8afedd00c538019
Author: xinli1 <xi...@linkedin.com>
AuthorDate: Thu Aug 15 13:26:36 2019 -0700
fix typo issue
---
proxy/logging/LogFilter.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/proxy/logging/LogFilter.h b/proxy/logging/LogFilter.h
index f7a945b..6c05e53 100644
--- a/proxy/logging/LogFilter.h
+++ b/proxy/logging/LogFilter.h
@@ -383,7 +383,7 @@ LogFilterString::_checkCondition(OperatorFunction f, const char *field_value, si
}
static const char *
-findPtternFromParamName(const char *lookup_query_param, const char *pattern)
+findPatternFromParamName(const char *lookup_query_param, const char *pattern)
{
const char *p1 = strstr(lookup_query_param, pattern);
while (p1) {
@@ -424,7 +424,7 @@ wipeField(char **field, char *pattern, const char *uppercase_field)
return;
}
- const char *p1 = findPtternFromParamName(lookup_query_param, pattern);
+ const char *p1 = findPatternFromParamName(lookup_query_param, pattern);
if (p1) {
int field_pos = p1 - lookup_query_param;
p1 = query_param + field_pos;