From b2f2c93f89b91e7104949b148bffca30eb151aa9 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Tue, 30 Apr 2024 00:48:37 +1000 Subject: [PATCH] http_server: fix formatting of if/else block Signed-off-by: Andrew Titmuss --- src/http_server/flb_http_server_http1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http_server/flb_http_server_http1.c b/src/http_server/flb_http_server_http1.c index 8a3cc7d143b..6a61d2a3e93 100644 --- a/src/http_server/flb_http_server_http1.c +++ b/src/http_server/flb_http_server_http1.c @@ -445,7 +445,8 @@ int flb_http1_server_session_init(struct flb_http1_server_session *session, if (parent != NULL && parent->parent != NULL) { user_data = parent->parent->user_data; - } else { + } + else { user_data = NULL; }