Subj : src/sbbs3/js_socket.cpp To : Git commit to main/sbbs/master From : Rob Swindell (on Windows 11) Date : Thu Dec 18 2025 06:17 pm https://gitlab.synchro.net/main/sbbs/-/commit/130d267d095b28c5c829b2d3 Modified Files: src/sbbs3/js_socket.cpp Log Message: Code clean-up - TRUE -> true - Eliminate unnecessary free(NULL) checks - Fix the potential socket leaks in error handling in socket constructors as reported by ChatGPT via Nelgin Something I noticed while doing this: functions in this file call call_socket_open_callback() from main.cpp either directly or via a callback from xpms API calls. This only work if the terminal server is running and has been initialized. So ... running other servers in their own process without the terminal server (as some sysops do) won't count open sockets accurately. .