From 00ae0334ef144e07b84d28c25abd0f40fa0706f7 Mon Sep 17 00:00:00 2001 From: Michael Barker Date: Thu, 8 Aug 2024 09:26:35 +1200 Subject: [PATCH] [C] Use correct client data for the publication error frame callback within the client conductor. --- aeron-client/src/main/c/aeron_client_conductor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aeron-client/src/main/c/aeron_client_conductor.c b/aeron-client/src/main/c/aeron_client_conductor.c index 9efa1256545..4ba5dfc5774 100644 --- a/aeron-client/src/main/c/aeron_client_conductor.c +++ b/aeron-client/src/main/c/aeron_client_conductor.c @@ -166,7 +166,7 @@ int aeron_client_conductor_init(aeron_client_conductor_t *conductor, aeron_conte conductor->error_handler_clientd = context->error_handler_clientd; conductor->error_frame_handler = context->error_frame_handler; - conductor->error_handler_clientd = context->error_frame_handler_clientd; + conductor->error_frame_handler_clientd = context->error_frame_handler_clientd; conductor->on_new_publication = context->on_new_publication; conductor->on_new_publication_clientd = context->on_new_publication_clientd; @@ -2564,7 +2564,7 @@ void aeron_client_conductor_forward_error(void *clientd, int64_t key, void *valu { // TODO: Use a union or a copy... conductor->error_frame_handler( - conductor->error_handler_clientd, (aeron_publication_error_values_t *)response); + conductor->error_frame_handler_clientd, (aeron_publication_error_values_t *)response); } }