fix bug in TRE found by clang (typo && instead of &)

This commit is contained in:
Rich Felker 2011-04-07 23:13:47 -04:00
parent cb8dff2149
commit 74f75541ff
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ tre_tnfa_run_backtrack(const tre_tnfa_t *tnfa, const void *string,
if (stack->prev)
{
DPRINT((" backtracking\n"));
if (stack->item.state->assertions && ASSERT_BACKREF)
if (stack->item.state->assertions & ASSERT_BACKREF)
{
DPRINT((" states_seen[%d] = 0\n",
stack->item.state_id));