Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
80664fe
)
don't need to use gen_server:reply
author
David Reiss
<dreiss@apache.org>
Wed, 11 Jun 2008 01:00:37 +0000
(
01:00
+0000)
committer
David Reiss
<dreiss@apache.org>
Wed, 11 Jun 2008 01:00:37 +0000
(
01:00
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666438
13f79535
-47bb-0310-9956-
ffa450edef68
lib/alterl/src/thrift_buffered_transport.erl
patch
|
blob
|
history
diff --git
a/lib/alterl/src/thrift_buffered_transport.erl
b/lib/alterl/src/thrift_buffered_transport.erl
index
702d352
..
d6628ac
100644
(file)
--- a/
lib/alterl/src/thrift_buffered_transport.erl
+++ b/
lib/alterl/src/thrift_buffered_transport.erl
@@
-120,7
+120,7
@@
handle_call(flush, _From, State = #state{buffer = Buffer,
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),