This patch fixes the problem with htdig ignoring files with names like
left_index.html, which htdig versions 3.1.0, 3.1.1, and 3.1.2 do because
the wrong StringMatch function was used when the remove_default_doc
attribute was added to the code.

--- htlib/URL.cc.orig	Wed Apr 21 21:47:58 1999
+++ htlib/URL.cc	Fri Jun 11 12:24:40 1999
@@ -440,7 +440,7 @@ void URL::removeIndex(String &path)
       l.Release();
     }
     if (defaultdoc->hasPattern() &&
-            defaultdoc->FindFirstWord(path.sub(filename)) >= 0)
+            defaultdoc->CompareWord(path.sub(filename)))
 	path.chop(path.length() - filename);
 }
 
