mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix bug in debug helper function
This commit is contained in:
parent
a677a2da17
commit
522e2ebc9f
@ -52,8 +52,8 @@ Thread**
|
|||||||
fill(Thread* t, Thread* o, Thread** array)
|
fill(Thread* t, Thread* o, Thread** array)
|
||||||
{
|
{
|
||||||
if (t != o) *(array++) = t;
|
if (t != o) *(array++) = t;
|
||||||
if (t->peer) fill(t->peer, o, array);
|
if (t->peer) array = fill(t->peer, o, array);
|
||||||
if (t->child) fill(t->child, o, array);
|
if (t->child) array = fill(t->child, o, array);
|
||||||
|
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user