• src/sbbs3/atcodes.cpp bulkmail.cpp email.cpp ftpsrvr.c mailsrvr.c main

    From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 6 22:27:17 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/dee21ed618ee1af36b63abf1
    Modified Files:
    src/sbbs3/atcodes.cpp bulkmail.cpp email.cpp ftpsrvr.c mailsrvr.c main.cpp netmail.cpp postmsg.cpp readmsgs.cpp sbbs.h services.c str.cpp websrvr.c writemsg.cpp
    Log Message:
    Fix observed race-condition resulting in the HOSTNAME @-code being blank.

    Eliminate the hack in each server where it will over-write startup host_name (with the configured Internet email address), if it's blank. This hack was subject to a race condition where the parent app (e.g. sbbsctrl.exe) would clear or re-initialize the host_name after the sever threads had initialized. Instead, just use a function which will return either the startup->host_name
    or (fallback to) scfg.inet_addr.

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