From 45741fee8f45d8d9a7e636e38f277e9f45e99b5a Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Mon, 14 Oct 2024 14:32:43 +0200 Subject: [PATCH] temp: log_path_options_no_ack followup Signed-off-by: Szilard Parrag --- lib/logthrdest/tests/test_logthrdestdrv.c | 3 ++- modules/http/tests/test_http-signal_slot.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/logthrdest/tests/test_logthrdestdrv.c b/lib/logthrdest/tests/test_logthrdestdrv.c index 57d29224b..5b099ac00 100644 --- a/lib/logthrdest/tests/test_logthrdestdrv.c +++ b/lib/logthrdest/tests/test_logthrdestdrv.c @@ -115,7 +115,8 @@ _generate_messages(TestThreadedDestDriver *dd, gint n, gboolean local) LogMessage *msg; FilterXEvalContext filterx_context; LogPathOptions path_options; - log_path_options_init_noack(&path_options, &filterx_eval_context); + log_path_options_init(&path_options, &filterx_eval_context); + path_options.ack_needed = FALSE; gchar buf[32]; for (gint i = 0; i < n; i++) diff --git a/modules/http/tests/test_http-signal_slot.c b/modules/http/tests/test_http-signal_slot.c index 908c9a462..9980d1c41 100644 --- a/modules/http/tests/test_http-signal_slot.c +++ b/modules/http/tests/test_http-signal_slot.c @@ -66,7 +66,8 @@ _generate_message(HTTPDestinationDriver *dd, const gchar *msg_str) { LogPathOptions path_options; FilterXEvalContext filterx_context; - log_path_options_init_noack(&path_options, &filterx_eval_context); + log_path_options_init(&path_options, &filterx_eval_context); + path_options.ack_needed = FALSE; LogMessage *msg = log_msg_new_empty(); log_msg_set_value_by_name(msg, "MSG", msg_str, -1); log_pipe_queue(&dd->super.super.super.super, msg, &path_options);