Permalink
Browse files

Remove debugging code

  • Loading branch information...
1 parent a93118e commit ba36883ae2fe4736c653fd8dea73c33fb41a436a @jhs jhs committed Dec 6, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/somdune_net.erl
View
4 src/somdune_net.erl
@@ -311,11 +311,11 @@ relay(FromSocket, ToSocket, BytesIn, BytesOut) ->
tcp_setopts(ToSocket, [{packet, 0}, {active, once} ]),
receive
{Type, FromSocket, Data} when Type == tcp orelse Type == ssl ->
- log_info("Data: ~p", [Data]),
+ %log_info("Data: ~p", [Data]),
tcp_send(ToSocket, Data),
relay(FromSocket, ToSocket, BytesIn + size(Data), BytesOut);
{Type, ToSocket, Data} when Type == tcp orelse Type == ssl ->
- log_info("Data: ~p", [Data]),
+ %log_info("Data: ~p", [Data]),
tcp_send(FromSocket, Data),
relay(FromSocket, ToSocket, BytesIn, BytesOut + size(Data));
{tcp_closed, _} ->

0 comments on commit ba36883

Please sign in to comment.