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