summaryrefslogtreecommitdiff
path: root/src/AuthConfigFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-10-22 15:09:00 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-10-22 15:09:00 +0000
commitc6035b2e24410e7a576f83e92257f4bb26d593c9 (patch)
treeb6221953e8a95566aaeba33c527d70f810f51bed /src/AuthConfigFactory.cc
parent3349fe081156776aba058b90beebb68d4ee73e75 (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/AuthConfigFactory.cc')
-rw-r--r--src/AuthConfigFactory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AuthConfigFactory.cc b/src/AuthConfigFactory.cc
index 86d05425..dd9c0a79 100644
--- a/src/AuthConfigFactory.cc
+++ b/src/AuthConfigFactory.cc
@@ -190,7 +190,7 @@ AuthConfigFactory::BasicCred::BasicCred
_user(user), _password(password),
_host(host), _path(path), _activated(activated)
{
- if(!Util::endsWith(_path, "/")) {
+ if(!util::endsWith(_path, "/")) {
_path += "/";
}
}
@@ -228,7 +228,7 @@ AuthConfigFactory::findBasicCred(const std::string& host,
std::deque<BasicCred>::iterator i =
std::lower_bound(_basicCreds.begin(), _basicCreds.end(), bc);
for(; i != _basicCreds.end() && (*i)._host == host; ++i) {
- if(Util::startsWith(bc._path, (*i)._path)) {
+ if(util::startsWith(bc._path, (*i)._path)) {
return i;
}
}