Skip to content

Commit 5ec2b22

Browse files
committed
fix mixed calls execRecursiveTristate and execRecursive
1 parent cde2aa2 commit 5ec2b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsquery_extract.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ execRecursiveTristate(ExtractedNode *node, GinTernaryValue *check)
868868
res = GIN_TRUE;
869869
for (i = 0; i < node->args.count; i++)
870870
{
871-
v = execRecursive(node->args.items[i], (bool *) check);
871+
v = execRecursiveTristate(node->args.items[i], check);
872872
if (v == GIN_FALSE)
873873
return GIN_FALSE;
874874
else if (v == GIN_MAYBE)
@@ -879,7 +879,7 @@ execRecursiveTristate(ExtractedNode *node, GinTernaryValue *check)
879879
res = GIN_FALSE;
880880
for (i = 0; i < node->args.count; i++)
881881
{
882-
v = execRecursive(node->args.items[i], (bool *) check);
882+
v = execRecursiveTristate(node->args.items[i], check);
883883
if (v == GIN_TRUE)
884884
return GIN_TRUE;
885885
else if (v == GIN_MAYBE)

0 commit comments

Comments
 (0)