• src/sbbs3/mailsrvr.c userdat.c userdat.h

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Saturday, April 01, 2023 21:06:44
    https://gitlab.synchro.net/main/sbbs/-/commit/7e83c8b70d1bdec021d3577e
    Modified Files:
    src/sbbs3/mailsrvr.c userdat.c userdat.h
    Log Message:
    Move the special FTN/QWKnet address formatting to a userdat-exported function

    smtp_netmail_addr() - not currently used anywhere else, but may be someday. load/mailutil.js's fidoaddr_to_emailaddr() has this same logic (for FTN addrs at least and is now used by nntpservice.js).

    Also, always pass a buffer to smb_faddrtoa() from the mail server since it's multi-threaded and its unsafe to pass NULL (using a static local buffer).

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