summaryrefslogtreecommitdiff
path: root/lib/erl
diff options
context:
space:
mode:
authorDavid Hull <david.hull@openx.com>2017-07-27 20:09:48 +0000
committerJens Geyer <jensg@apache.org>2017-07-27 23:02:02 +0200
commited9e75f6256208fe2b1e39ff069b29ae73e8a937 (patch)
treee74a3588f95a4cd5c35f3b7a83341576b18e5976 /lib/erl
parentf790445d7c9c460b7daf5f46664124348899832b (diff)
downloadthrift-ed9e75f6256208fe2b1e39ff069b29ae73e8a937.tar.gz
THRIFT-4268 Erlang library emits debugging output in transport layer
Client: Erlang Patch: David Hull <david.hull@openx.com> This closes #1317
Diffstat (limited to 'lib/erl')
-rw-r--r--lib/erl/src/thrift_transport.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/erl/src/thrift_transport.erl b/lib/erl/src/thrift_transport.erl
index 526050f47..2414bde36 100644
--- a/lib/erl/src/thrift_transport.erl
+++ b/lib/erl/src/thrift_transport.erl
@@ -103,11 +103,9 @@ read_exact(Transport = #t_transport{module = Module}, Len)
when is_integer(Len), Len >= 0 ->
case lists:keyfind(read_exact, 1, Module:module_info(exports)) of
{read_exact, 2} ->
- io:fwrite("HAS EXACT"),
{NewState, Result} = Module:read_exact(Transport#t_transport.state, Len),
{Transport#t_transport{state = NewState}, Result};
_ ->
- io:fwrite("~p NO EXACT", [Module]),
read(Transport, Len)
end.