[ 
https://issues.apache.org/jira/browse/THRIFT-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382437#comment-15382437
 ] 

ASF GitHub Bot commented on THRIFT-3884:
----------------------------------------

Github user nsuke commented on a diff in the pull request:

    https://github.com/apache/thrift/pull/1051#discussion_r71166470
  
    --- Diff: lib/erl/src/thrift_compact_protocol.erl ---
    @@ -355,7 +356,7 @@ read(This0, i64) ->
     read(This0, double) ->
       {This1, Bytes} = read_data(This0, 8),
       case Bytes of
    -    {ok, <<Val:64/float-signed-big, _/binary>>} -> {This1, {ok, Val}};
    +    {ok, <<Val:64/float-signed-little, _/binary>>} -> {This1, {ok, Val}};
    --- End diff --
    
    Ooops, the `Double` part is just a variable, the same as `Val`.
    Anyway I'll unify the order.


> Fix Erlang compact protocol double endianess and boolean list
> -------------------------------------------------------------
>
>                 Key: THRIFT-3884
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3884
>             Project: Thrift
>          Issue Type: Bug
>          Components: Erlang - Library
>         Environment: Travis-CI
>            Reporter: Aki Sukegawa
>            Assignee: Aki Sukegawa
>
> * Compact double field should be little endian unlike Binary protocol.
> * boolean list could not be sent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to