From: Zebity Spring Date: Fri, 12 Jul 2019 07:33:46 +0000 (+1000) Subject: Merge upstream, address conflict in src/utils/cmds/cmds_test.c X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a72ad42076337f3b85db3b06565ae86a83226ab3;p=collectd.git Merge upstream, address conflict in src/utils/cmds/cmds_test.c --- diff --git a/src/utils/cmds/cmds_test.c b/src/utils/cmds/cmds_test.c index 048150ab..3d6d2f65 100644 --- a/src/utils/cmds/cmds_test.c +++ b/src/utils/cmds/cmds_test.c @@ -196,13 +196,14 @@ DEF_TEST(parse) { memset(&cmd, 0, sizeof(cmd)); status = cmd_parse(input, &cmd, parse_data[i].opts, &err); - ssnprintf(description, sizeof(description), "cmd_parse (\"%s\", opts=%p) = " - "%d (type=%d [%s]); want %d " - "(type=%d [%s])", - parse_data[i].input, parse_data[i].opts, status, cmd.type, - CMD_TO_STRING(cmd.type), parse_data[i].expected_status, - parse_data[i].expected_type, - CMD_TO_STRING(parse_data[i].expected_type)); + ssnprintf(description, sizeof(description), + "cmd_parse (\"%s\", opts=%p) = " + "%d (type=%d [%s]); want %d " + "(type=%d [%s])", + parse_data[i].input, parse_data[i].opts, status, cmd.type, + CMD_TO_STRING(cmd.type), parse_data[i].expected_status, + parse_data[i].expected_type, + CMD_TO_STRING(parse_data[i].expected_type)); result = (status == parse_data[i].expected_status) && (cmd.type == parse_data[i].expected_type); LOG(result, description);