• src/sbbs3/readmail.cpp

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Thursday, August 08, 2024 18:19:00
    https://gitlab.synchro.net/main/sbbs/-/commit/c58a0e899a3c8bd4349c2c6e
    Modified Files:
    src/sbbs3/readmail.cpp
    Log Message:
    Save/reuse the mail save path/filename as a user property (in data/user/*.ini)

    This is a fix for issue #340

    Another idea would be to store a history of mail save paths and allow the user to scroll through them/choose with the up and down arrow keys, but that goes beyond the original feature request. So this just stores/reuses the last successfully used path/filename.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, December 06, 2024 17:38:27
    https://gitlab.synchro.net/main/sbbs/-/commit/855fb1be1433f3e986c5157f
    Modified Files:
    src/sbbs3/readmail.cpp
    Log Message:
    Always free(mail)

    I don't think this was actually a leak (since smb.msgs should be non-zero
    any time mail is non-null), but to make Coverity happy (CID 515659) and just
    be more fault-tolerant, always free(mail).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net