From 87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 7 Aug 2014 14:53:07 +0200 Subject: util/StringUtil: rename strchug_fast() to StripLeft() --- src/util/StringUtil.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/StringUtil.cxx') diff --git a/src/util/StringUtil.cxx b/src/util/StringUtil.cxx index 50885a34a..153846e9b 100644 --- a/src/util/StringUtil.cxx +++ b/src/util/StringUtil.cxx @@ -27,7 +27,7 @@ #include const char * -strchug_fast(const char *p) +StripLeft(const char *p) { while (IsWhitespaceNotNull(*p)) ++p; @@ -38,7 +38,7 @@ strchug_fast(const char *p) char * Strip(char *p) { - p = strchug_fast(p); + p = StripLeft(p); size_t length = strlen(p); while (length > 0 && IsWhitespaceNotNull(p[length - 1])) -- cgit v1.2.3