You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ian Holsman (JIRA)" <ji...@apache.org> on 2008/07/22 08:54:31 UTC
[jira] Created: (THRIFT-94) erlang code does not compile due to a
syntax error
erlang code does not compile due to a syntax error
--------------------------------------------------
Key: THRIFT-94
URL: https://issues.apache.org/jira/browse/THRIFT-94
Project: Thrift
Issue Type: Bug
Components: Compiler (Erlang)
Reporter: Ian Holsman
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};
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (THRIFT-94) erlang code does not compile due to a
syntax error
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Reiss resolved THRIFT-94.
-------------------------------
Resolution: Fixed
Yeah, I just ran into this also. Sorry about that.
> erlang code does not compile due to a syntax error
> --------------------------------------------------
>
> Key: THRIFT-94
> URL: https://issues.apache.org/jira/browse/THRIFT-94
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Erlang)
> Reporter: Ian Holsman
>
> 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};
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.