BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/ftpsrvr.cpp
De:       Rob Swindell (on Debian Linux)
Data:     Wed, 6 May 2026 22:36:57 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/769599ebba788f26253334f3
Modified Files:
	src/sbbs3/ftpsrvr.cpp
Log Message:
ftpsrvr: handle return values in send/receive_thread and sock_recvbyte (CIDs 643130, 643142, 643143)

- send_thread/receive_thread: log a warning if fseeko to xfer.filepos
  fails so a seek error is no longer silent (downstream I/O would
  proceed at the wrong offset). Continues into the transfer loop
  either way to preserve existing behavior.
- sock_recvbyte: cast the inner cryptSetAttribute (re-arming the read
  timeout) to void; this is best-effort and the matching call above
  it is already error-checked.

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

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