From f1dd51bfb5b643b61b8c609ca397d753a2a669fe Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Wed, 28 Sep 2016 20:41:24 +0700 Subject: [PATCH] reformatting: skip --- cJSON.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index afcb3d4..3ebcce1 100644 --- a/cJSON.c +++ b/cJSON.c @@ -774,7 +774,15 @@ static const char *parse_object(cJSON *item, const char *value, const char **ep) static char *print_object(cJSON *item, int depth, int fmt, printbuffer *p); /* Utility to jump whitespace and cr/lf */ -static const char *skip(const char *in) {while (in && *in && (unsigned char)*in<=32) in++; return in;} +static const char *skip(const char *in) +{ + while (in && *in && ((unsigned char)*in<=32)) + { + in++; + } + + return in; +} /* Parse an object - create a new root, and populate. */ cJSON *cJSON_ParseWithOpts(const char *value,const char **return_parse_end,int require_null_terminated)