From 5bb1b8428bc6e933ef253fceaa4bf02dda3882d2 Mon Sep 17 00:00:00 2001 From: Kinsbursky Stanislav Date: Wed, 25 Jul 2012 18:28:17 +0400 Subject: [PATCH] protobuf: replace rectangular bracket by curly one for nested messages show Signed-off-by: Stanislav Kinsbursky Signed-off-by: Pavel Emelyanov --- protobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf.c b/protobuf.c index fc1d6b4b5..279b4876f 100644 --- a/protobuf.c +++ b/protobuf.c @@ -64,7 +64,7 @@ static void print_nested_message_braces(pb_pr_ctl_t *ctl, int right_brace) { if (right_brace) 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);