• src/sbbs3/email.cpp

    From Rob Swindell (in GitKraken) to Git commit to main/sbbs/master on Fri Mar 3 17:45:11 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/06da7b98c8ade42f62bc7065
    Modified Files:
    src/sbbs3/email.cpp
    Log Message:
    Use proper 64-bit function for converting an off_t to comma-separated
  • From Rob Swindell (on Windows 11)@rob@synchro.net to Git commit to main/sbbs/master on Tue Feb 3 17:51:35 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/40f9eb726327da544809ea39
    Modified Files:
    src/sbbs3/email.cpp
    Log Message:
    Fix error message reported when smb_addmsghdr() fails here

    We were closing the message base before calling smb_freemsgdat() in the error condition, which is going to always fail with the error:

    -206 info=smb_locksmbhdr msgbase not open

    Which was then overriding the actual/initial error reported by smb_addmsghdr().

    The fix is to report the error before doing anything else and then call smb_freemsgdat() before closing the message base.