Skip to content

Commit

Permalink
fixed crash in snippets - query_mode + matched sentence at the end of…
Browse files Browse the repository at this point in the history
… document

git-svn-id: http://sphinxsearch.googlecode.com/svn/trunk@2485 8b96e2b9-35c5-2c16-bc47-5122d61876d4
  • Loading branch information
tomat committed Sep 15, 2010
1 parent 0912941 commit 1b38919
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sphinxexcerpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -748,9 +748,12 @@ void ExcerptGen_c::TokenizeDocument ( char * pData, CSphDict * pDict, ISphTokeni
Token_t & tLast = m_dTokens.Add();
tLast.m_eType = TOK_NONE;
tLast.m_iStart = 0;
tLast.m_iLengthCP = 0;
tLast.m_iLengthBytes = 0;
tLast.m_iWeight = 0;
tLast.m_iWordID = 0;
tLast.m_uWords = 0;
tLast.m_uPosition = 0;
}

void ExcerptGen_c::MarkHits ()
Expand Down

0 comments on commit 1b38919

Please sign in to comment.