From 742369258655c750ab6e9a400b2611d94333fa63 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Wed, 28 Sep 2016 20:40:45 +0700 Subject: [PATCH] reformatting: print_string --- cJSON.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cJSON.c b/cJSON.c index 0182a98..1876acc 100644 --- a/cJSON.c +++ b/cJSON.c @@ -759,8 +759,11 @@ static char *print_string_ptr(const char *str, printbuffer *p) return out; } -/* Invote print_string_ptr (which is useful) on an item. */ -static char *print_string(cJSON *item,printbuffer *p) {return print_string_ptr(item->valuestring,p);} +/* Invoke print_string_ptr (which is useful) on an item. */ +static char *print_string(cJSON *item, printbuffer *p) +{ + return print_string_ptr(item->valuestring, p); +} /* Predeclare these prototypes. */ static const char *parse_value(cJSON *item,const char *value,const char **ep);