Skip to content
Snippets Groups Projects
Commit 53030dd8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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).
parent 3b0dd501
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment