Commit fc1826d1 by Carlos Martín Nieto

tests: fix tree walking test

Return -1 to stop the iteration instead of not-0
parent 85f28ba8
......@@ -59,7 +59,7 @@ static int treewalk_stop_cb(
(*count) += 1;
return (*count == 2);
return (*count == 2) ? -1 : 0;
}
static int treewalk_stop_immediately_cb(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment