diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-04 22:27:58 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-04 22:27:58 +0900 |
| commit | f84d2253b2250ed5760398c189bfc8bf8dff1f69 (patch) | |
| tree | 19a84b1b75161152d5c3c338282596a2537e4c1d /src/cookie_helper.cc | |
| parent | 6267676e8bba1566aa68a757359c9481b135cc6d (diff) | |
Rewritten util::split and added its iterator version.
Iterator based functions util::startsWith, util::endsWith,
util::streq, util::strieq were added.
Diffstat (limited to 'src/cookie_helper.cc')
| -rw-r--r-- | src/cookie_helper.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cookie_helper.cc b/src/cookie_helper.cc index b30e309a..7c0c6d47 100644 --- a/src/cookie_helper.cc +++ b/src/cookie_helper.cc @@ -352,14 +352,6 @@ bool parse return true; } -std::string removePrecedingDots(const std::string& host) -{ - std::string::const_iterator noDot = host.begin(); - std::string::const_iterator end = host.end(); - for(; noDot != end && *noDot == '.'; ++noDot); - return std::string(noDot, end); -} - bool goodPath (std::string::const_iterator first, std::string::const_iterator last) |
