]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: log: add syslog_process_message() helper
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 10 Mar 2025 11:15:32 +0000 (12:15 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 12 Mar 2025 09:49:18 +0000 (10:49 +0100)
commitd47e7103b8c2ebc18eb378d5ef8c71f40c119faf
tree28cd77e42e7caea1a29378154214a9bb3e4d16bb
parent8b8520305ef853ced878e080ea25078c07e03d32
CLEANUP: log: add syslog_process_message() helper

Prevent code duplication under syslog_fd_handler() and syslog_io_handler()
by merging common code path in a single syslog_process_message() helper
that processed a single message stored in <buf> according to <frontend>
settings.
src/log.c