basic/log: include the log syntax callback in the errno protection block
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Oct 2022 11:07:49 +0000 (13:07 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Oct 2022 14:25:56 +0000 (16:25 +0200)
commit6b7834fe5de3de690e6efb9467c61691c4b2f30f
tree6acca50859c053547c0cb43de07e5b2feba8c573
parent2b9e90554087154126fedb5f8a70abaefececb0c
basic/log: include the log syntax callback in the errno protection block

In general, log_syntax_internal() must keep errno unchanged. But the
call to log_syntax_callback() was added outside of the block protected
by PROTECT_ERRNO.
src/basic/log.c