Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vrischmann committed Sep 6, 2024
1 parent 4c76b5a commit 44d7ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol.zig
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ test "frame write: PREPARE message" {
// Decode then verify

{
const result = try Frame.decode(arena.allocator(), frame.payload, .uncompressed);
const result = try Frame.decode(arena.allocator(), frame, .uncompressed);

const envelope = try testReadEnvelope(arena.allocator(), result.frame.payload);
try checkEnvelopeHeader(5, Opcode.prepare, result.frame.payload.len, envelope.header);
Expand Down

0 comments on commit 44d7ada

Please sign in to comment.