Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-94

erlang code does not compile due to a syntax error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Erlang - Compiler
    • None
    • Patch Available

    Description

      looks like an extra arrow made it's way in there (SVN trunk)

      Index: erl/src/thrift_http_transport.erl
      ===================================================================
      — erl/src/thrift_http_transport.erl (revision 678652)
      +++ erl/src/thrift_http_transport.erl (working copy)
      @@ -146,7 +146,7 @@
      read_buffer = Rbuf,
      write_buffer = Wbuf,
      http_options = HttpOptions}) ->

      • case iolist_to_binary(Wbuf) of ->
        + case iolist_to_binary(Wbuf) of
        <<>> ->
        %% Don't bother flushing empty buffers.
        {ok, State}

        ;

      Attachments

        Activity

          People

            Unassigned Unassigned
            iholsman Ian Holsman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: