aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-07-20 22:58:53 +0200
committerAnders Svensson <[email protected]>2017-08-10 11:15:43 +0200
commit5beaaf0cdc856c1a7623a1beee4da74aa9c1825e (patch)
treee00e47cf80771b5807c635634d40aed7206039a0 /lib/diameter
parentbacca97210d31865c46b759115039b22f9ba9ed7 (diff)
downloadotp-5beaaf0cdc856c1a7623a1beee4da74aa9c1825e.tar.gz
otp-5beaaf0cdc856c1a7623a1beee4da74aa9c1825e.tar.bz2
otp-5beaaf0cdc856c1a7623a1beee4da74aa9c1825e.zip
Fix type spec
That dialyzer hasn't noticed is broken.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index 3194cb4bf1..cfa857e09a 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -220,13 +220,13 @@ incr_rc(Dir, Pkt, TPid, Dict0) ->
-> pid() %% request handler
| boolean() %% answer, known request or not
| discard %% request discarded by MFA
- when Route :: {Handler, RequestRef, Seqs}
+ when Route :: {Handler, RequestRef, TPid}
| Ack,
RecvData :: {[SpawnOpt], #recvdata{}},
SpawnOpt :: term(),
Handler :: pid(),
RequestRef :: reference(),
- Seqs :: {0..16#FFFFFFFF, 0..16#FFFFFFFF},
+ TPid :: pid(),
Ack :: boolean().
receive_message(TPid, Route, Pkt, Dict0, RecvData) ->