aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-09 13:40:29 +0200
committerPéter Dimitrov <[email protected]>2019-04-09 14:37:48 +0200
commitce59dff38b13bd82d830a763bbc2f8d940ba2384 (patch)
treebb8066bb66643ec7df149a653e8ace965d086ba8 /lib/ssl/src
parent73978663a26110121c7a7e4dc53e2481980b6b83 (diff)
downloadotp-ce59dff38b13bd82d830a763bbc2f8d940ba2384.tar.gz
otp-ce59dff38b13bd82d830a763bbc2f8d940ba2384.tar.bz2
otp-ce59dff38b13bd82d830a763bbc2f8d940ba2384.zip
ssl: Fix ssl:getstat/2
Change-Id: I03d8bb7b45fc48b3d5b0232c4c3a286fb36aad5c
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 998d549e52..5da924ef16 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -1029,7 +1029,7 @@ getstat(Socket) ->
%%
%% Description: Get one or more statistic options for a socket.
%%--------------------------------------------------------------------
-getstat(#sslsocket{pid = {Listen, #config{transport_info = {Transport, _, _, _}}}}, Options) when is_port(Listen), is_list(Options) ->
+getstat(#sslsocket{pid = {Listen, #config{transport_info = {Transport, _, _, _, _}}}}, Options) when is_port(Listen), is_list(Options) ->
tls_socket:getstat(Transport, Listen, Options);
getstat(#sslsocket{pid = [Pid|_], fd = {Transport, Socket, _, _}}, Options) when is_pid(Pid), is_list(Options) ->