]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Fix and improve format string processing in lua_logger_log_format() 5378/head
authorDmitry Petrov <dpetrov67@gmail.com>
Sat, 8 Mar 2025 20:44:28 +0000 (15:44 -0500)
committerDmitry Petrov <dpetrov67@gmail.com>
Sat, 8 Mar 2025 21:08:19 +0000 (16:08 -0500)
commit020daff6ff76f054258c752c2dc319ef7763bb65
tree86a826a883a2a2ca6d1f4f8431b027c6ef15ce96
parent7e39489cd365094d30b037644f38a2b646ca5cd4
[Minor] Fix and improve format string processing in lua_logger_log_format()
 * Fix handling of %s after % with numeric argument
 * Fix argument number check
 * Preserve unhandled % in the output
 * Redesign to simplify the code
src/lua/lua_logger.c