Skip to content

Commit 89a5a51

Browse files
committed
Fix cherry-pick build failure
1 parent c45a9c3 commit 89a5a51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/rabbitmq_amqp1_0/src/rabbit_amqp1_0_session.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,8 @@ handle_deliver(ConsumerTag, AckRequired,
950950
batchable = false},
951951
Mc1 = mc:convert(mc_amqp, Mc0),
952952
Mc = mc:set_annotation(redelivered, Redelivered, Mc1),
953-
Sections = mc:serialize(Mc),
953+
Sections0 = mc:protocol_state(Mc),
954+
Sections = mc_amqp:serialize(Sections0),
954955
?DEBUG("Outbound content:~n ~tp",
955956
[[amqp10_framing:pprint(Section) ||
956957
Section <- amqp10_framing:decode_bin(iolist_to_binary(Sections))]]),

0 commit comments

Comments
 (0)