mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
protobuf: replace rectangular bracket by curly one for nested messages show
Signed-off-by: Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
b56bc8c5f9
commit
5bb1b8428b
@@ -64,7 +64,7 @@ static void print_nested_message_braces(pb_pr_ctl_t *ctl, int right_brace)
|
|||||||
{
|
{
|
||||||
if (right_brace)
|
if (right_brace)
|
||||||
print_tabs(ctl);
|
print_tabs(ctl);
|
||||||
pr_msg("%s%s", (right_brace) ? "]" : "[", (ctl->single_entry) ? "\n" : " ");
|
pr_msg("%s%s", (right_brace) ? "}" : "{", (ctl->single_entry) ? "\n" : " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pb_show_msg(const void *msg, pb_pr_ctl_t *ctl);
|
static void pb_show_msg(const void *msg, pb_pr_ctl_t *ctl);
|
||||||
|
Reference in New Issue
Block a user