diff --git a/src/dom/uri.cpp b/src/dom/uri.cpp
index 9eff6b8b0c0142f396f415b67b4e84d2efef8041..13b76c413d3a962a685bd505cec1e5be3a842609 100644 (file)
--- a/src/dom/uri.cpp
+++ b/src/dom/uri.cpp
typedef struct
{
int ival;
- char *sval;
+ char const *sval;
int port;
} LookupEntry;
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])
-int URI::match(int p0, char *key)
+int URI::match(int p0, char const *key)
{
int p = p0;
while (p < parselen)