https://gitlab.synchro.net/main/sbbs/-/commit/277fb27617018bd3c0e84d5c
Modified Files:
src/sbbs3/fidodefs.h sbbsecho.c
Log Message:
SBBSecho: zero local-only attribute bits when packing messages
putfmsg() copied the stored message's attribute word into the packed
message unchanged, so bits that only mean something on the sending
system went out over the network: Local, KillSent and Sent, and Hold, FileRequest, etc. when set. SBBSecho's own NetMail is stored with Private|KillSent|Local, so every NetMail it sent carried at least two of
them (logged as "attr: 0181"), and a Squish hub keeps Hold on receipt.
Mask the attribute word with FIDO_PACKED_ATTR_MASK, a new fidodefs.h
macro for the bits FTS-0001 says are not zeroed before packeting:
Private, Crash, FileAttached, bit 10, RRReq, IsRR and AuditReq (0x7413,
the same mask as Fido's MSGMASK). The stored message is not changed.
Fixes #1432
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net