Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reindent with spaces, Fix typo #8329

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion src/flb_strptime.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/*
* This file provides a portable implementation of strptime(2), based
* on the work of OpenSBD project. Since various platforms implement
* on the work of OpenBSD project. Since various platforms implement
* strptime differently, this one should work as a fallback.
*/

Expand Down
Loading