fix bug in debug helper function

This commit is contained in:
Joel Dice 2008-07-21 14:41:29 -06:00
parent a677a2da17
commit 522e2ebc9f

View File

@ -52,8 +52,8 @@ Thread**
fill(Thread* t, Thread* o, Thread** array)
{
if (t != o) *(array++) = t;
if (t->peer) fill(t->peer, o, array);
if (t->child) fill(t->child, o, array);
if (t->peer) array = fill(t->peer, o, array);
if (t->child) array = fill(t->child, o, array);
return array;
}