Subj : src/sbbs3/js_socket.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Thu Nov 26 2020 12:28 pm https://gitlab.synchro.net/main/sbbs/-/commit/30d409114d29f84fb93d59c8 Modified Files: src/sbbs3/js_socket.c Log Message: Fix bug with Socket.getoption() of byte-sized options Only observed on Windows, the option value variable (val) was uninitialized so querying byte-sized options using WinSock getsockopt() would leave the MSB of the value as undefined (garbage), resulting in sockinfo.js output like this: KEEPALIVE = -858993663 instead of this: KEEPALIVE = 1 .