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>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)