Can't get my int sent to the right outlet

Roald Baudoux's icon

I create three outlets :

x->outlet1 = listout((t_object *)x);
 x->outlet2 = intout((t_object *)x);
x->outlet3 = intout((t_object *)x);

Then if I have this code:

outlet_int(x->outlet2, 1);

I have the number 1 coming from the second outlet.

However with this code :

outlet_int(x->outlet3, 1);

the number comes from the first outlet, not the third.

What's wrong ?

Roald Baudoux's icon

Ah boooooon. Thanks Nicolas !