aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-29 15:25:09 +0200
committerAnders Svensson <[email protected]>2012-08-29 15:25:09 +0200
commit8f790a3a995ac8b713d039308ab4796fdf27f853 (patch)
tree4ce8869f19e5c45ecd78d9318f7d4f4bce7df435
parente931991f305a27af5d99478e35b3b29b24ca3b48 (diff)
downloadotp-8f790a3a995ac8b713d039308ab4796fdf27f853.tar.gz
otp-8f790a3a995ac8b713d039308ab4796fdf27f853.tar.bz2
otp-8f790a3a995ac8b713d039308ab4796fdf27f853.zip
Dialyzer spec fix
-rw-r--r--lib/diameter/src/transport/diameter_tcp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl
index 78dbda6888..f98ae84cf4 100644
--- a/lib/diameter/src/transport/diameter_tcp.erl
+++ b/lib/diameter/src/transport/diameter_tcp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -74,7 +74,7 @@
%% Accepting/connecting transport process state.
-record(transport,
- {socket :: inet:socket(), %% accept or connect socket
+ {socket :: inet:socket() | ssl:sslsock(), %% accept or connect socket
parent :: pid(), %% of process that started us
module :: module(), %% gen_tcp-like module
frag = <<>> :: binary() | {tref(), frag()}, %% message fragment