Subj : src/sbbs3/writemsg.cpp To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Thu May 07 2026 20:26:43 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 --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .