Hi, all. This bug was introduced in 3.1.0b1. The start template, if
provided, should come out after the header, not before.
--- htsearch/Display.cc.hdrbug Tue Jan 5 17:27:30 1999
+++ htsearch/Display.cc Thu Jan 7 12:30:52 1999
@@ -195,6 +195,9 @@
}
maxScore = match->getScore();
+ cout << "Content-type: text/html\r\n\r\n";
+ displayHeader();
+
//
// Display the window of matches requested.
//
@@ -203,9 +206,6 @@
expandVariables(currentTemplate->getStartTemplate());
}
- cout << "Content-type: text/html\r\n\r\n";
- displayHeader();
-
matches->Start_Get();
while ((match = (ResultMatch *)matches->Get_Next()) &&
numberDisplayed < number)
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.