Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
ChPid => DeliveryCtx
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Aug 11, 2014
1 parent 60eda9b commit beff3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/amqp_selective_consumer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ deliver(Method, Message, State) ->
true -> {Method, Message}
end,
deliver_to_consumer_or_die(Method, Combined, State).
deliver(Method, Message, ChPid, State) ->
deliver(Method, Message, DeliveryCtx, State) ->
Combined = if Message =:= undefined -> Method;
true -> {Method, Message, ChPid}
true -> {Method, Message, DeliveryCtx}
end,
deliver_to_consumer_or_die(Method, Combined, State).

Expand Down

0 comments on commit beff3ac

Please sign in to comment.