(Apr 03 2014 17:54), Clemens Ladisch wrote: > This is still wrong. It should be: > > len = b[0] - 0x80; > if (1 <= len && len <= 3 && s->midi[port]) Oops! Exactly. I might be tired for this long developing... Thank you Takashi Sakamoto o-takashi at sakamocchi.jp