diff options
Diffstat (limited to 'src/rabbit_net.erl')
-rw-r--r-- | src/rabbit_net.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_net.erl b/src/rabbit_net.erl index 406977b4..975954fc 100644 --- a/src/rabbit_net.erl +++ b/src/rabbit_net.erl @@ -66,7 +66,7 @@ async_recv(Sock, Length, Timeout) when is_record(Sock, ssl_socket) -> Pid = self(), Ref = make_ref(), - spawn(fun() -> Pid ! {inet_async, Sock, Ref, + spawn(fun () -> Pid ! {inet_async, Sock, Ref, ssl:recv(Sock#ssl_socket.ssl, Length, Timeout)} end), |