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.7 <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)