aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-30 01:31:15 +0200
committerAnders Svensson <[email protected]>2012-08-30 01:33:11 +0200
commit768564efda3a5539fa9a3b83960b429a5dd6c2b8 (patch)
treebda1f021c7c3d809d4938e3e9fa6ac4e2d18e864 /lib
parent8f790a3a995ac8b713d039308ab4796fdf27f853 (diff)
downloadotp-768564efda3a5539fa9a3b83960b429a5dd6c2b8.tar.gz
otp-768564efda3a5539fa9a3b83960b429a5dd6c2b8.tar.bz2
otp-768564efda3a5539fa9a3b83960b429a5dd6c2b8.zip
Dialyzer spec fix
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/base/diameter.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl
index 336f0c1f2d..b689a83127 100644
--- a/lib/diameter/src/base/diameter.erl
+++ b/lib/diameter/src/base/diameter.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
@@ -322,10 +322,11 @@ call(SvcName, App, Message) ->
%% Predicate passed to remove_transport/2
-type transport_pred()
- :: fun((reference(), connect|listen, list()) -> boolean())
- | fun((reference(), list()) -> boolean())
+ :: fun((transport_ref(), connect|listen, list()) -> boolean())
+ | fun((transport_ref(), list()) -> boolean())
| fun((list()) -> boolean())
- | reference()
+ | transport_ref()
+ | boolean()
| list()
| {connect|listen, transport_pred()}
| {atom(), atom(), list()}.