aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-10 11:13:51 +0200
committerAnders Svensson <[email protected]>2017-08-10 11:16:00 +0200
commit2be3e00698dea8236e60f3262c50b37eebfb4a04 (patch)
treea6c045877701812d712cfa93ee5271301ee5d649 /lib/diameter/src/base
parent90b18515763cc332a1f2e612a24c50f245b5dc72 (diff)
downloadotp-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')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl2
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(),