From 7c9734f6f5ec2592679afdb24f191a5fe17cd83d Mon Sep 17 00:00:00 2001 From: Seonghyeon Cho Date: Tue, 26 Dec 2023 22:05:15 +0900 Subject: [PATCH] chore: use indent with spaces Signed-off-by: Seonghyeon Cho --- src/config_format/flb_config_format.c | 4 ++-- src/flb_http_client.c | 2 +- src/flb_input_chunk.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/config_format/flb_config_format.c b/src/config_format/flb_config_format.c index 3a62fc9e219..5ba15b85906 100644 --- a/src/config_format/flb_config_format.c +++ b/src/config_format/flb_config_format.c @@ -524,8 +524,8 @@ struct flb_cf_group *flb_cf_group_create(struct flb_cf *cf, struct flb_cf_sectio /* initialize lists */ g->properties = cfl_kvlist_create(); if (g->properties == NULL) { - flb_free(g); - return NULL; + flb_free(g); + return NULL; } /* determinate type by name */ diff --git a/src/flb_http_client.c b/src/flb_http_client.c index 404df849a3a..c82fcba003c 100644 --- a/src/flb_http_client.c +++ b/src/flb_http_client.c @@ -478,7 +478,7 @@ static int process_data(struct flb_http_client *c) #if defined FLB_HAVE_TESTS_OSSFUZZ int fuzz_process_data(struct flb_http_client *c); int fuzz_process_data(struct flb_http_client *c) { - return process_data(c); + return process_data(c); } int fuzz_check_connection(struct flb_http_client *c); diff --git a/src/flb_input_chunk.c b/src/flb_input_chunk.c index 754e0e65993..e60f872c2ff 100644 --- a/src/flb_input_chunk.c +++ b/src/flb_input_chunk.c @@ -18,10 +18,10 @@ */ #define FS_CHUNK_SIZE_DEBUG(op) {flb_trace("[%d] %s -> fs_chunks_size = %zu", \ - __LINE__, op->name, op->fs_chunks_size);} + __LINE__, op->name, op->fs_chunks_size);} #define FS_CHUNK_SIZE_DEBUG_MOD(op, chunk, mod) {flb_trace( \ - "[%d] %s -> fs_chunks_size = %zu mod=%zd chunk=%s", __LINE__, \ - op->name, op->fs_chunks_size, mod, flb_input_chunk_get_name(chunk));} + "[%d] %s -> fs_chunks_size = %zu mod=%zd chunk=%s", __LINE__, \ + op->name, op->fs_chunks_size, mod, flb_input_chunk_get_name(chunk));} #include #include @@ -507,7 +507,7 @@ int flb_input_chunk_has_overlimit_routes(struct flb_input_chunk *ic, */ int flb_input_chunk_place_new_chunk(struct flb_input_chunk *ic, size_t chunk_size) { - int overlimit; + int overlimit; struct flb_input_instance *i_ins = ic->in; if (i_ins->storage_type == CIO_STORE_FS) {