diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-10-22 15:09:00 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-10-22 15:09:00 +0000 |
| commit | c6035b2e24410e7a576f83e92257f4bb26d593c9 (patch) | |
| tree | b6221953e8a95566aaeba33c527d70f810f51bed /src/AbstractCommand.cc | |
| parent | 3349fe081156776aba058b90beebb68d4ee73e75 (diff) | |
2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved static functions in Util class to namespace util.
* src
* test
Diffstat (limited to 'src/AbstractCommand.cc')
| -rw-r--r-- | src/AbstractCommand.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc index 0f0511d5..a0774350 100644 --- a/src/AbstractCommand.cc +++ b/src/AbstractCommand.cc @@ -403,10 +403,10 @@ public: bool operator()(const std::string& domain) const { - if(Util::startsWith(domain, ".")) { - return Util::endsWith(_hostname, domain); + if(util::startsWith(domain, ".")) { + return util::endsWith(_hostname, domain); } else { - return Util::endsWith(_hostname, "."+domain); + return util::endsWith(_hostname, "."+domain); } } }; @@ -415,7 +415,7 @@ static bool inNoProxy(const SharedHandle<Request>& req, const std::string& noProxy) { std::vector<std::string> entries; - split(noProxy, std::back_inserter(entries), ",", true); + util::split(noProxy, std::back_inserter(entries), ",", true); if(entries.empty()) { return false; } |
