Skip to content

Commit

Permalink
[C] Naming consistency on term_length.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed May 3, 2019
1 parent fae2e83 commit b7016eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions aeron-driver/src/main/c/aeron_flow_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int aeron_max_multicast_flow_control_strategy_supplier(
int32_t stream_id,
int64_t registration_id,
int32_t initial_term_id,
size_t term_buffer_capacity)
size_t term_length)
{
aeron_flow_control_strategy_t *_strategy;

Expand Down Expand Up @@ -154,8 +154,8 @@ int aeron_unicast_flow_control_strategy_supplier(
int32_t stream_id,
int64_t registration_id,
int32_t initial_term_id,
size_t term_buffer_capacity)
size_t term_length)
{
return aeron_max_multicast_flow_control_strategy_supplier(
strategy, channel_length, channel, stream_id, registration_id, initial_term_id, term_buffer_capacity);
strategy, channel_length, channel, stream_id, registration_id, initial_term_id, term_length);
}
2 changes: 1 addition & 1 deletion aeron-driver/src/main/c/aeronmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ typedef int (*aeron_flow_control_strategy_supplier_func_t)(
int32_t stream_id,
int64_t registration_id,
int32_t initial_term_id,
size_t term_buffer_capacity);
size_t term_length);

/**
* Supplier for flow control structure to be employed for multicast channels.
Expand Down

0 comments on commit b7016eb

Please sign in to comment.