Skip to content

Commit

Permalink
Fix bug in ControlledFragmentAssembler.OnFragment: Assign to the acti…
Browse files Browse the repository at this point in the history
…on return value.
  • Loading branch information
peterTalos committed Nov 3, 2023
1 parent fe9f4a2 commit 9368ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeron/controlledfragmentassembler.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (f *ControlledFragmentAssembler) OnFragment(
buffer.WriteBytes(builder, offset, length)
if (flags & endFrag) == endFrag {
msgLength := builder.Len()
action := f.delegate(
action = f.delegate(
atomic.MakeBuffer(builder.Bytes(), msgLength),
int32(0),
int32(msgLength),
Expand Down

0 comments on commit 9368ebf

Please sign in to comment.