diff options
author | Anders Svensson <[email protected]> | 2017-08-10 11:13:51 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-10 11:16:00 +0200 |
commit | 2be3e00698dea8236e60f3262c50b37eebfb4a04 (patch) | |
tree | a6c045877701812d712cfa93ee5271301ee5d649 /lib/diameter/src/base/diameter_traffic.erl | |
parent | 90b18515763cc332a1f2e612a24c50f245b5dc72 (diff) | |
download | otp-2be3e00698dea8236e60f3262c50b37eebfb4a04.tar.gz otp-2be3e00698dea8236e60f3262c50b37eebfb4a04.tar.bz2 otp-2be3e00698dea8236e60f3262c50b37eebfb4a04.zip |
Fix type spec
That dialyzer hasn't noticed is broken.
Diffstat (limited to 'lib/diameter/src/base/diameter_traffic.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_traffic.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl index cfa857e09a..84ae33ae9c 100644 --- a/lib/diameter/src/base/diameter_traffic.erl +++ b/lib/diameter/src/base/diameter_traffic.erl @@ -186,7 +186,7 @@ incr_error(Dir, Id, TPid) -> %% --------------------------------------------------------------------------- -spec incr_rc(send|recv, Pkt, TPid, DictT) - -> {Counter, non_neg_integer()} + -> Counter | Reason when Pkt :: #diameter_packet{}, TPid :: pid(), |