== true is... not a meaningful bit of code, hah.

Just use ``ret.poison = (one_in(10)) ? 1 : 0;