tests: fix tree walking test

Return -1 to stop the iteration instead of not-0
This commit is contained in:
Carlos Martín Nieto 2012-08-14 20:54:13 +02:00
parent 85f28ba891
commit fc1826d149

View File

@ -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(