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

@ -84,7 +84,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [duration]");
goto end;
}
}
}
cJSON *total_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "totalVolume");
@ -93,7 +93,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [total_volume]");
goto end;
}
}
}
cJSON *downlink_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "downlinkVolume");
@ -102,7 +102,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [downlink_volume]");
goto end;
}
}
}
cJSON *uplink_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "uplinkVolume");
@ -111,7 +111,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [uplink_volume]");
goto end;
}
}
}
accumulated_usage_local_var = OpenAPI_accumulated_usage_create (
duration ? duration->valuedouble : 0,