• src/xpdev/xp_syslog.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Dec 1 22:11:46 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/dbc2b45f30e3256d2817c510
    Modified Files:
    src/xpdev/xp_syslog.c
    Log Message:
    Eliminate unused variable

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Mar 15 16:01:53 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/2f1c39f3e483920a5b8e62f2
    Modified Files:
    src/xpdev/xp_syslog.c
    Log Message:
    Fix two bugs in xp_syslog.c

    1. fputs() arguments swapped in xp_vsyslog() LOG_PERROR path:
    fputs(stderr, msg_to_send) passes the FILE* as the string and
    the string as the FILE*, causing a crash when LOG_PERROR is set.

    2. xp_syslog() calls native vsyslog() instead of xp_vsyslog(),
    bypassing the custom log_host UDP syslog functionality on Unix.
    On non-Unix platforms, vsyslog may not exist at all.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net