Merge branch 'diffbot-testing' into testing

This commit is contained in:
Matt 2016-03-16 01:14:37 -06:00
commit 5e8c47adfd

View File

@ -12754,6 +12754,12 @@ int64_t *XmlDoc::getDocId ( ) {
"for %s",m_docId,m_firstUrl.m_url);
}
if ( m_docId == 0 ) {
log("build: docid is 0 for %s",m_firstUrl.m_url);
g_errno = ENODOCID;
return NULL;
}
// ensure it is within probable range
if ( ! getUseTimeAxis () ) {
char *u = getFirstUrl()->getUrl();