+ remove useless debug message

This commit is contained in:
kelson42 2013-01-05 16:20:43 +00:00
parent 306b7ebbb0
commit c0847edec9
1 changed files with 2 additions and 4 deletions

View File

@ -115,9 +115,8 @@ namespace kiwix {
HashTable oHashTable; HashTable oHashTable;
CTPP2Compiler oCompiler(oVMOpcodeCollector, oSyscalls, oStaticData, oStaticText, oHashTable); CTPP2Compiler oCompiler(oVMOpcodeCollector, oSyscalls, oStaticData, oStaticText, oHashTable);
// Load template & create template parser /* Load template & create template parser */
//cout << getResourceAsString("results.tmpl") << endl; // cout << getResourceAsString("results.tmpl") << endl;
/* Parse template */ /* Parse template */
const STLW::string & sSourceFile = getResourceAsString("results.tmpl"); const STLW::string & sSourceFile = getResourceAsString("results.tmpl");
@ -197,7 +196,6 @@ namespace kiwix {
oData["count"] = kiwix::beautifyInteger(this->estimatedResultCount); oData["count"] = kiwix::beautifyInteger(this->estimatedResultCount);
oData["searchPattern"] = this->searchPattern; oData["searchPattern"] = this->searchPattern;
std::cout << urlEncode(this->searchPattern) << std::endl;
oData["searchPatternEncoded"] = urlEncode(this->searchPattern); oData["searchPatternEncoded"] = urlEncode(this->searchPattern);
oData["resultStart"] = this->resultStart + 1; oData["resultStart"] = this->resultStart + 1;
oData["resultEnd"] = (this->resultEnd > this->estimatedResultCount ? this->estimatedResultCount : this->resultEnd); oData["resultEnd"] = (this->resultEnd > this->estimatedResultCount ? this->estimatedResultCount : this->resultEnd);