THRIFT-94. erlang: Fix a syntax error
authorDavid Reiss <dreiss@apache.org>
Tue, 22 Jul 2008 06:57:41 +0000 (06:57 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 22 Jul 2008 06:57:41 +0000 (06:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@678659 13f79535-47bb-0310-9956-ffa450edef68

lib/erl/src/thrift_http_transport.erl

index 80762d7..ee6a864 100644 (file)
@@ -146,7 +146,7 @@ do_flush(State = #http_transport{host = Host,
                                  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};