diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_binary_generator.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_binary_generator.erl b/src/rabbit_binary_generator.erl index 6b6b395a6a..2ece86963f 100644 --- a/src/rabbit_binary_generator.erl +++ b/src/rabbit_binary_generator.erl @@ -215,9 +215,9 @@ encode_property(shortstr, String) -> encode_property(longstr, String) -> Len = size(String), <<Len:32, String:Len/binary>>; encode_property(octet, Int) -> <<Int:8/unsigned>>; -encode_property(shortint, Int) -> <<Int:16/unsigned>>; -encode_property(longint, Int) -> <<Int:32/unsigned>>; -encode_property(longlongint, Int) -> <<Int:64/unsigned>>; +encode_property(short, Int) -> <<Int:16/unsigned>>; +encode_property(long, Int) -> <<Int:32/unsigned>>; +encode_property(longlong, Int) -> <<Int:64/unsigned>>; encode_property(timestamp, Int) -> <<Int:64/unsigned>>; encode_property(table, Table) -> table_to_binary(Table). |
