diff options
author | Keith Packard <keithp@keithp.com> | 2015-02-07 13:09:18 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-02-07 13:09:18 -0800 |
commit | 0d08c427188f7b748d9ea7651143bc843e9c2691 (patch) | |
tree | ec80d826ad05b8fa8a924c800aef0aa3a2cfbfae /altoslib/AltosReplayReader.java | |
parent | 4a5c64bef6952f25cadebc3e1f9909a5f513e015 (diff) |
altos: ao_packet_getchar needs to return 'int' so AO_READ_AGAIN works
With ao_packet_getchar returning 'char', AO_READ_AGAIN would get
converted to 0xff instead of -1 on return, making ao_packet_echo
either produce a bogus character on output, breaking command
responses, or wedge and never exit when the link was dropped.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosReplayReader.java')
0 files changed, 0 insertions, 0 deletions