fixes infinite loop during udptl.c's decode_open_type