aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-26 21:32:11 +0200
committerAnders Svensson <[email protected]>2012-08-26 21:32:11 +0200
commit92813e780248755e720eda0749aa6232bae8724e (patch)
treeb7fed32f0cf93aafd501e15f532617c92f9d6552 /lib/diameter
parent26721653adec1e9d4a1032e766f8243085687bf3 (diff)
downloadotp-92813e780248755e720eda0749aa6232bae8724e.tar.gz
otp-92813e780248755e720eda0749aa6232bae8724e.tar.bz2
otp-92813e780248755e720eda0749aa6232bae8724e.zip
Minor spec fix
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index b615bed860..d7474e5c56 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -64,13 +64,12 @@
%% that a failed capabilities exchange produces the desired exit
%% reason.
--spec start(Type, {RecvData, Opts, SvcName, Svc})
- -> pid()
- when Type :: {connect|accept, reference()},
+-spec start(Type, {RecvData, [Opt], SvcName, #diameter_service{}})
+ -> {reference(), pid()}
+ when Type :: {connect|accept, diameter:transport_ref()},
RecvData :: term(),
- Opts :: list(),
- SvcName :: term(),
- Svc :: #diameter_service{}.
+ Opt :: diameter:transport_opt(),
+ SvcName :: diameter:service_name().
start({_,_} = Type, T) ->
Ref = make_ref(),