AmendHub

Download:

jcs

/

subtext

/

amendments

/

617

nomodem: nomodem_get_char has to be able to return -1


jcs made amendment 617 9 months ago
--- nomodem.c Thu Apr 27 10:56:12 2023 +++ nomodem.c Thu Dec 11 17:48:29 2025 @@ -120,7 +120,7 @@ nomodem_timed_out(struct nomodem_session *ns) return false; } -unsigned short +short nomodem_get_char(struct nomodem_session *ns) { unsigned char b; --- nomodem.h Thu Apr 27 11:08:00 2023 +++ nomodem.h Thu Dec 11 17:48:57 2025 @@ -65,6 +65,6 @@ struct nomodem_session * nomodem_receive(struct sessio bool nomodem_timed_out(struct nomodem_session *ns); bool nomodem_continue(struct nomodem_session *ns); void nomodem_finish(struct nomodem_session **nsp); -unsigned short nomodem_get_char(struct nomodem_session *ns); +short nomodem_get_char(struct nomodem_session *ns); #endif \ No newline at end of file