BBS: TELESC.NET.BR Assunto: src/sbbs3/writemsg.cpp De: Rob Swindell (on Debian Linux) Data: Thu, 7 May 2026 20:26:43 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/8d91e80d1fc5a8f103574ef8 Modified Files: src/sbbs3/writemsg.cpp Log Message: writemsg: change l to long so ftell() error check works (CID 645990) l was declared uint, so the (l < 0) check after l = (long)ftell(stream) was always false. ftell() returns long and can return -1 on error. Update the (ulong) casts on the level_linespermsg comparisons accordingly. Co-Authored-By: Claude Opus 4.7n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]