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" wasinitialized.Also, md() needs to return the errno value (not a BOOL) since thecaller may be in another DLL with a different errno (which likelyhas a value of 0/no error).
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)