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

erlang code does not compile due to a syntax error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Erlang - Compiler
    • Labels:
      None
    • Patch Info:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: