comply with coding standard

This commit is contained in:
Sukchan Lee 2021-07-08 15:00:59 +09:00
parent f278d58a69
commit 2471b1b53d
562 changed files with 3332 additions and 3332 deletions

View file

@ -144,7 +144,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS
ogs_error("OpenAPI_policy_data_subscription_parseFromJSON() failed [notif_id]");
goto end;
}
}
}
cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(policy_data_subscriptionJSON, "monitoredResourceUris");
if (!monitored_resource_uris) {
@ -190,7 +190,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS
OpenAPI_list_add(mon_res_itemsList, mon_res_itemsItem);
}
}
}
cJSON *expiry = cJSON_GetObjectItemCaseSensitive(policy_data_subscriptionJSON, "expiry");
@ -199,7 +199,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS
ogs_error("OpenAPI_policy_data_subscription_parseFromJSON() failed [expiry]");
goto end;
}
}
}
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(policy_data_subscriptionJSON, "supportedFeatures");
@ -208,7 +208,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS
ogs_error("OpenAPI_policy_data_subscription_parseFromJSON() failed [supported_features]");
goto end;
}
}
}
policy_data_subscription_local_var = OpenAPI_policy_data_subscription_create (
ogs_strdup_or_assert(notification_uri->valuestring),