mirror of git://git.musl-libc.org/musl
fix bug in TRE found by clang (typo && instead of &)
This commit is contained in:
parent
cb8dff2149
commit
74f75541ff
|
@ -917,7 +917,7 @@ tre_tnfa_run_backtrack(const tre_tnfa_t *tnfa, const void *string,
|
||||||
if (stack->prev)
|
if (stack->prev)
|
||||||
{
|
{
|
||||||
DPRINT((" backtracking\n"));
|
DPRINT((" backtracking\n"));
|
||||||
if (stack->item.state->assertions && ASSERT_BACKREF)
|
if (stack->item.state->assertions & ASSERT_BACKREF)
|
||||||
{
|
{
|
||||||
DPRINT((" states_seen[%d] = 0\n",
|
DPRINT((" states_seen[%d] = 0\n",
|
||||||
stack->item.state_id));
|
stack->item.state_id));
|
||||||
|
|
Loading…
Reference in New Issue