Skip to content

Commit

Permalink
Merge pull request #99 from peterTalos/petershi/controlledfragmentass…
Browse files Browse the repository at this point in the history
…emblerbug

Fix bug in ControlledFragmentAssembler.OnFragment: Assign to the action return value.
  • Loading branch information
ethanf committed Nov 3, 2023
2 parents fe9f4a2 + 9368ebf commit f6902ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeron/controlledfragmentassembler.go
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 f6902ab

Please sign in to comment.