diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 13:17:53 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 13:17:53 +0100 |
| commit | 96a1984b44dbd71cfd0191d1e4dcca7f84d197a7 (patch) | |
| tree | 94d41a108b1ef73f30d6eb653a839d26fb825a60 /src/rabbit_binary_generator.erl | |
| parent | d0e12bd0f6eeb2631637b7feb67cf8ef1bfa7c50 (diff) | |
| download | rabbitmq-server-96a1984b44dbd71cfd0191d1e4dcca7f84d197a7.tar.gz | |
Rename protocol constant.
Diffstat (limited to 'src/rabbit_binary_generator.erl')
| -rw-r--r-- | src/rabbit_binary_generator.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_binary_generator.erl b/src/rabbit_binary_generator.erl index e29f9fcb..28f34e7c 100644 --- a/src/rabbit_binary_generator.erl +++ b/src/rabbit_binary_generator.erl @@ -78,9 +78,9 @@ build_simple_method_frame(ChannelInt, MethodRecord, Protocol) -> {ClassId, MethodId} = rabbit_framing:method_id(MethodName), create_frame(1, ChannelInt, [<<ClassId:16, MethodId:16>>, MethodFields]). -adjust_close('connection.close', protocol_08) -> +adjust_close('connection.close', amqp_0_8) -> 'connection.close08'; -adjust_close('connection.close_ok', protocol_08) -> +adjust_close('connection.close_ok', amqp_0_8) -> 'connection.close08_ok'; adjust_close(MethodName, _Protocol) -> MethodName. |
