fix core.

This commit is contained in:
mwells
2013-10-29 16:23:40 -06:00
parent 0ed1d2bc1d
commit f6a697da7b

@ -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;