aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl
index 8834f4d..d751b59 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -406,7 +406,7 @@ loop(State=#state{parent=Parent, owner=Owner, host=Host,
retry=Retry, socket=Socket, transport=Transport,
protocol=Protocol, protocol_state=ProtoState}) ->
{OK, Closed, Error} = Transport:messages(),
- ok = Transport:setopts(Socket, [{active, once}]),
+ Transport:setopts(Socket, [{active, once}]),
receive
{OK, Socket, Data} ->
case Protocol:handle(Data, ProtoState) of