summaryrefslogtreecommitdiff
path: root/src/cookie_helper.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-04 22:27:58 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-04 22:27:58 +0900
commitf84d2253b2250ed5760398c189bfc8bf8dff1f69 (patch)
tree19a84b1b75161152d5c3c338282596a2537e4c1d /src/cookie_helper.cc
parent6267676e8bba1566aa68a757359c9481b135cc6d (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.cc8
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)