• src/sbbs3/ftpsrvr.c load_cfg.c mailsrvr.c main.cpp sbbs.h services.c w

    From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 13 00:59:29 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/3f23b8bea723fc1b405220c5
    Modified Files:
    src/sbbs3/ftpsrvr.c load_cfg.c mailsrvr.c main.cpp sbbs.h services.c websrvr.c
    Log Message:
    Change md() to not call lpritnf (which one?!?) as this limited its usefulness

    ... in other non sbbs.dll modules (e.g. *srvr.dll).

    So now log error messages elsewhere where appropriate.

    DLL-exported and optimized md() a bit.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 13 02:51:20 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/47dd4dcecb06aea83195937a
    Modified Files:
    src/sbbs3/ftpsrvr.c load_cfg.c mailsrvr.c main.cpp sbbs.h services.c websrvr.c
    Log Message:
    Insure active_clients is initialized before cleanup() can be called.

    Fix reported and observed crash in cleanup() (in ftp, mail, websrvr)
    when failing to create the temp directory. This was due to cleanup()
    being called before the protected integer "active_clients" was
    initialized.

    Also, md() needs to return the errno value (not a BOOL) since the
    caller may be in another DLL with a different errno (which likely
    has a value of 0/no error).

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