summaryrefslogtreecommitdiffstats
path: root/src/dom
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom')
-rw-r--r--src/dom/uri.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dom/uri.cpp b/src/dom/uri.cpp
index e68caf898..13b76c413 100644
--- a/src/dom/uri.cpp
+++ b/src/dom/uri.cpp
@@ -329,6 +329,9 @@ static int find(const std::vector<int> &str, int ch, int startpos)
static int findLast(const std::vector<int> &str, int ch)
{
+ // TODO FIXME BUGBUG
+ // This loop appears to be infinite, so it is probably not being called.
+ // Test for a problem, then fix after it has been observed locking up.
for (unsigned int i = str.size()-1 ; i>=0 ; i--)
{
if (ch == str[i])