Porting bug fix 3417227 to new zimAccessor

This commit is contained in:
reg_ 2011-10-27 09:51:48 +00:00
parent c715e4eee6
commit 0308b2aea8

View File

@ -98,10 +98,6 @@ bool ZimAccessor::GetMainPageUrl(string &url) {
if (this->reader != NULL) { if (this->reader != NULL) {
string urlstr = this->reader->getMainPageUrl(); string urlstr = this->reader->getMainPageUrl();
if (urlstr.empty()) {
urlstr = this->reader->getFirstPageUrl();
}
url = urlstr.c_str(); url = urlstr.c_str();
return true; return true;
} }