commit | 46e8d0b8fb18e25baf45a51715d7e3129a17fdb6 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Jul 22 06:57:41 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Jul 22 06:57:41 2008 +0000 |
tree | 513e1272ccf986c813fa372473eabfd572a70493 | |
parent | f6c6c9c09d9d785bb37da5d87d880d4122c9452f [diff] |
THRIFT-94. erlang: Fix a syntax error git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@678659 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/erl/src/thrift_http_transport.erl b/lib/erl/src/thrift_http_transport.erl index 80762d7..ee6a864 100644 --- a/lib/erl/src/thrift_http_transport.erl +++ b/lib/erl/src/thrift_http_transport.erl
@@ -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};