mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
fix core.
This commit is contained in:
@ -29425,7 +29425,7 @@ char **XmlDoc::getTitleBuf ( ) {
|
||||
//HashTableX scoreTable;
|
||||
//scoreTable.set(8,4,64,stbuf,2000,false,m_niceness,"xmlscores");
|
||||
// scan each link in the link info
|
||||
for ( Inlink *k = NULL; (k = info1->getNextInlink(k)) ; linkNum++) {
|
||||
for ( Inlink *k = NULL; (k = info1->getNextInlink(k)) ; ) {
|
||||
// do not breach
|
||||
if ( linkNum >= 1000 ) break;
|
||||
// is this inlinker internal?
|
||||
@ -29451,6 +29451,7 @@ char **XmlDoc::getTitleBuf ( ) {
|
||||
if ( internal && ++internalCount >= 3 ) continue;
|
||||
// it's good
|
||||
bk[linkNum].m_score = 1;
|
||||
linkNum++;
|
||||
/*
|
||||
// set into words
|
||||
Words w;
|
||||
|
Reference in New Issue
Block a user