mirror of https://github.com/kiwix/libkiwix.git
+ remove useless debug message
This commit is contained in:
parent
306b7ebbb0
commit
c0847edec9
|
@ -115,10 +115,9 @@ 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");
|
||||||
CTPP2TextLoader oSourceLoader;
|
CTPP2TextLoader oSourceLoader;
|
||||||
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue