From 17e13946fec32c8f8d6c6bf8dff8b258f7e22585 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Fri, 30 Sep 2016 10:36:10 +0700 Subject: [PATCH] reformatting: cJSON_HasObjectItem --- cJSON.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index ad0535e..03b5bca 100644 --- a/cJSON.c +++ b/cJSON.c @@ -1615,7 +1615,10 @@ cJSON *cJSON_GetObjectItem(cJSON *object, const char *string) return c; } -int cJSON_HasObjectItem(cJSON *object,const char *string) {return cJSON_GetObjectItem(object,string)?1:0;} +int cJSON_HasObjectItem(cJSON *object,const char *string) +{ + return cJSON_GetObjectItem(object, string) ? 1 : 0; +} /* Utility for array list handling. */ static void suffix_object(cJSON *prev,cJSON *item) {prev->next=item;item->prev=prev;}