chiark / gitweb /
Move config_parse_join_controllers to shared, add test
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Feb 2018 08:56:29 +0000 (09:56 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:59 +0000 (07:58 +0200)
commit39154d61478a7440b1527f02afeff5b6ffb541ce
tree3a2b58edba80a96a1de75c693898832bcb877250
parentc3d60196c5b20e6209fcc649a63c6d7c1692d798
Move config_parse_join_controllers to shared, add test

config_parse_join_controllers would free the destination argument on failure,
which is contrary to our normal style, where failed parsing has no effect.
Moving it to shared also allows a test to be added.
src/basic/strv.h
src/shared/conf-parser.c
src/shared/conf-parser.h
src/test/test-conf-parser.c