fix to allow us to gather ip-only url outlinks again
This commit is contained in:
parent
2c167aada7
commit
0dbc304bbf
@ -5865,7 +5865,7 @@ bool Links::addLink ( char *link , int32_t linkLen , int32_t nodeNum ,
|
||||
|
||||
// stop http://0x0017.0000000000000000000000000000000000000024521276/
|
||||
// which somehow make it through without this!!
|
||||
if ( url.getTLDLen() <= 0 ) return true;
|
||||
if ( ! url.isIp() && url.getTLDLen() <= 0 ) return true;
|
||||
|
||||
// count dirty links
|
||||
//if ( url.isDirty() ) m_numDirtyLinks++;
|
||||
|
4
Makefile
4
Makefile
@ -399,8 +399,8 @@ RdbMap.o:
|
||||
RdbBuckets.o:
|
||||
$(CC) $(DEFS) $(CPPFLAGS) -O3 -c $*.cpp
|
||||
|
||||
Linkdb.o:
|
||||
$(CC) $(DEFS) $(CPPFLAGS) -O3 -c $*.cpp
|
||||
#Linkdb.o:
|
||||
# $(CC) $(DEFS) $(CPPFLAGS) -O3 -c $*.cpp
|
||||
|
||||
#XmlDoc.o:
|
||||
# $(CC) $(DEFS) $(CPPFLAGS) $(XMLDOCOPT) -c $*.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user