Skip to content

Commit

Permalink
added tcp error for simple replies
Browse files Browse the repository at this point in the history
  • Loading branch information
joewilliams committed Jan 19, 2009
1 parent 4e588ec commit 34b58d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/merle.erl
Expand Up @@ -304,7 +304,9 @@ send_get_cmd(Socket, Cmd) ->
recv_simple_reply() ->
receive
{tcp,_,Data} ->
string:tokens(binary_to_list(Data), "\r\n")
string:tokens(binary_to_list(Data), "\r\n");
{error, closed} ->
connection_closed
after ?TIMEOUT ->
timeout
end.
Expand Down

0 comments on commit 34b58d8

Please sign in to comment.