Skip to content

Commit

Permalink
[C] Use correct client data for the publication error frame callback …
Browse files Browse the repository at this point in the history
…within the client conductor.
  • Loading branch information
mikeb01 committed Aug 28, 2024
1 parent 8a8ebc3 commit 00ae033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aeron-client/src/main/c/aeron_client_conductor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 00ae033

Please sign in to comment.