summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: daa122e)
raw | patch | inline | side by side (parent: daa122e)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 18 Mar 2007 21:50:00 +0000 (21:50 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 18 Mar 2007 21:50:00 +0000 (21:50 +0000) |
src/dom/uri.cpp | patch | blob | history |
diff --git a/src/dom/uri.cpp b/src/dom/uri.cpp
index b56b5c2177a52f5909dcd5ffe38f91d999777093..9b1102b61e93391e859b2ae77f724208c966716b 100644 (file)
--- a/src/dom/uri.cpp
+++ b/src/dom/uri.cpp
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2007 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
int port;
} LookupEntry;
-LookupEntry schemes[] =
+static LookupEntry schemes[] =
{
{ URI::SCHEME_DATA, "data:", 0 },
{ URI::SCHEME_HTTP, "http:", 80 },
}
else
{
- std::string::size_type pos = path.find_last_of('/');
+ DOMString::size_type pos = path.find_last_of('/');
if (pos != path.npos)
{
DOMString tpath = path.substr(0, pos+1);
}
while (pos < path.size())
{
- std::string::size_type pos2 = path.find('/', pos);
+ DOMString::size_type pos2 = path.find('/', pos);
if (pos2==path.npos)
{
DOMString seg = path.substr(pos);