Skip to content

Commit

Permalink
chore: use indent with spaces
Browse files Browse the repository at this point in the history
Signed-off-by: Seonghyeon Cho <[email protected]>
  • Loading branch information
sh-cho committed Dec 26, 2023
1 parent 3a308f3 commit 7c9734f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/config_format/flb_config_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/flb_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
8 changes: 4 additions & 4 deletions src/flb_input_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <fluent-bit/flb_info.h>
#include <fluent-bit/flb_config.h>
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7c9734f

Please sign in to comment.