• src/xpdev/multisock.c

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sunday, November 22, 2026 00:16:24
    https://gitlab.synchro.net/main/sbbs/-/commit/0170bcb345fd6571990b2441
    Modified Files:
    src/xpdev/multisock.c
    Log Message:
    xpdev: fix Borland build of multisock.c (declaration after statement)

    Borland C++ compiles .c files as C89 and rejects a declaration that
    follows a statement: "Error E2140 multisock.c 457: Declaration is not
    allowed here in function xpms_accept". This broke the windows-x86
    [sbbs] CI job, which builds xpdev with Borland make first.

    Hoist "bool haproxy" to the top of xpms_accept().

    Introduced in 03be043f22.

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)