• src/sbbs3/readmail.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Aug 8 23:19:42 2024
    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 Fri Dec 6 17:38:27 2024
    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