conf-parser: use log_syntax_parse_error() and friends more
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 27 Aug 2024 01:59:53 +0000 (10:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 1 Sep 2024 21:17:05 +0000 (06:17 +0900)
commit6f12cb91bc9e781e8df4f7664b3c2e29d6e4c73e
tree991c61de1d1e4781b19a6e3033435edd4fc5a3e6
parent3c8dc3a3e0023fe347c7b513a3fc560530bee273
conf-parser: use log_syntax_parse_error() and friends more

This also makes all conf parsers defined in conf-parser.c return 1
on success, 0 on non-critical error.
Also, use free_and_strdup_warn() where applicable.
src/shared/conf-parser.c
src/shared/conf-parser.h