BBS:      TELESC.NET.BR
Assunto:  src/syncterm/conn_telnet.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 14:09:13 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/ddbe9b1638f713364426cccd
Modified Files:
	src/syncterm/conn_telnet.c
Log Message:
Fix static last_was_lf persisting across connections in conn_telnet.c

Move last_was_lf from function-static in st_telnet_expand() to file
scope, and reset it in telnet_connect() alongside the other telnet
state (telnet_local_option, telnet_remote_option). Previously, CR/LF
state from one session could cause the first byte of the next session
to be incorrectly consumed.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]