You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2008/06/11 03:00:38 UTC

svn commit: r666438 - /incubator/thrift/trunk/lib/alterl/src/thrift_buffered_transport.erl

Author: dreiss
Date: Tue Jun 10 18:00:37 2008
New Revision: 666438

URL: http://svn.apache.org/viewvc?rev=666438&view=rev
Log:
don't need to use gen_server:reply

Modified:
    incubator/thrift/trunk/lib/alterl/src/thrift_buffered_transport.erl

Modified: incubator/thrift/trunk/lib/alterl/src/thrift_buffered_transport.erl
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/alterl/src/thrift_buffered_transport.erl?rev=666438&r1=666437&r2=666438&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/alterl/src/thrift_buffered_transport.erl (original)
+++ incubator/thrift/trunk/lib/alterl/src/thrift_buffered_transport.erl Tue Jun 10 18:00:37 2008
@@ -120,7 +120,7 @@
     thrift_transport:flush(Wrapped),
     {reply, Response, State#state{buffer = []}};
 
-handle_call(close, From, State = #state{buffer  = Buffer,
+handle_call(close, _From, State = #state{buffer  = Buffer,
                                          wrapped = Wrapped}) ->
     thrift_transport:write(Wrapped, concat_binary(lists:reverse(Buffer))),
     Close=thrift_transport:close(Wrapped),