diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 17:27:38 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 17:27:38 +0100 |
| commit | 104c4b99423fc0af7d8ed2f8b2236f21a8b470b6 (patch) | |
| tree | a9accb0aa72395d90ec4b6393a1fc19ced82772f | |
| parent | b96616fe108a62cd48face19ca216eb1b73a240a (diff) | |
| download | rabbitmq-server-git-104c4b99423fc0af7d8ed2f8b2236f21a8b470b6.tar.gz | |
This is used, by the Erlang client.
| -rw-r--r-- | src/rabbit_basic.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl index 5e2d7d9abd..e277d5b77a 100644 --- a/src/rabbit_basic.erl +++ b/src/rabbit_basic.erl @@ -80,7 +80,7 @@ delivery(Mandatory, Immediate, Txn, Message) -> sender = self(), message = Message}. build_content(Properties, BodyBin) -> - %% TODO - is this ever used? If so remove hard coded amqp_0_9_1 + %% basic.publish hasn't changed so we can just hard-code amqp_0_9_1 {ClassId, _MethodId} = rabbit_framing:method_id('basic.publish', amqp_0_9_1), #content{class_id = ClassId, @@ -93,7 +93,7 @@ from_content(Content) -> properties = Props, payload_fragments_rev = FragmentsRev} = rabbit_binary_parser:ensure_content_decoded(Content), - %% TODO - is this ever used? If so remove hard coded amqp_0_9_1 + %% basic.publish hasn't changed so we can just hard-code amqp_0_9_1 {ClassId, _MethodId} = rabbit_framing:method_id('basic.publish', amqp_0_9_1), {Props, list_to_binary(lists:reverse(FragmentsRev))}. |
