Skip to content

Commit

Permalink
fix swapped arguments in com.teragrep.rlp_03.frame.delegate.event.Rel…
Browse files Browse the repository at this point in the history
…pEventServerClose, which did not appear in tests because payload is zero length (#200)
  • Loading branch information
kortemik authored Jun 24, 2024
1 parent 1ebc5c5 commit da8347f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public RelpEventServerClose() {
Fragment payloadLength = fragmentFactory.create(payload.size());
Fragment endOfTransfer = fragmentFactory.create("\n");

this.serverCloseFrame = new RelpFrameImpl(txn, command, payload, payloadLength, endOfTransfer);
this.serverCloseFrame = new RelpFrameImpl(txn, command, payloadLength, payload, endOfTransfer);
}

@Override
Expand Down

0 comments on commit da8347f

Please sign in to comment.