diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-11-09 00:26:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-13 10:24:03 +0100 |
commit | bcde742e78ac3b8e8ea348cfb022c820c11800e2 (patch) | |
tree | 0d044ff32ade82bf671aae8a1ff120ddc69598d0 /src/test/test-conf-parser.c | |
parent | 92b5e6054254b1d6cf7fcb342720fe58a58d0d7e (diff) | |
download | systemd-bcde742e78ac3b8e8ea348cfb022c820c11800e2.tar.gz |
conf-parser: turn three bool function params into a flags fields
This makes things more readable and fixes some issues with incorrect
flag propagation between the various flavours of config_parse().
Diffstat (limited to 'src/test/test-conf-parser.c')
-rw-r--r-- | src/test/test-conf-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-conf-parser.c b/src/test/test-conf-parser.c index 7a7de98bec..2974d533c3 100644 --- a/src/test/test-conf-parser.c +++ b/src/test/test-conf-parser.c @@ -311,7 +311,7 @@ static void test_config_parse(unsigned i, const char *s) { r = config_parse(NULL, name, f, "Section\0", config_item_table_lookup, items, - false, false, true, NULL); + CONFIG_PARSE_WARN, NULL); switch (i) { case 0 ... 3: |