diff options
author | Anders Svensson <[email protected]> | 2017-08-24 11:51:44 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-24 16:09:24 +0200 |
commit | 2d540b95755a6f628b0cfc5a9bab4ff41046fe4b (patch) | |
tree | 689d2a3e544219614c7118355f350aac30caa67f /lib/diameter/src/transport/diameter_tcp.erl | |
parent | 3c7e35ca4512088f0b4074f809f3110dfa285b8e (diff) | |
download | otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.tar.gz otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.tar.bz2 otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.zip |
Rename type evaluable -> eval
Export the old type as a synonym for backwards compatability. The name
evaluable is a bit too awkward.
Diffstat (limited to 'lib/diameter/src/transport/diameter_tcp.erl')
-rw-r--r-- | lib/diameter/src/transport/diameter_tcp.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl index 6252dbddfb..ac55d722fa 100644 --- a/lib/diameter/src/transport/diameter_tcp.erl +++ b/lib/diameter/src/transport/diameter_tcp.erl @@ -110,7 +110,7 @@ -type option() :: {port, non_neg_integer()} | {sender, boolean()} | sender - | {message_cb, false | diameter:evaluable()} + | {message_cb, false | diameter:eval()} | {fragment_timer, 0..16#FFFFFFFF}. %% Accepting/connecting transport process state. @@ -125,7 +125,7 @@ timeout :: infinity | 0..16#FFFFFFFF, %% fragment timeout tref = false :: false | reference(), %% fragment timer reference flush = false :: boolean(), %% flush fragment at timeout? - message_cb :: false | diameter:evaluable(), + message_cb :: false | diameter:eval(), send :: pid() | false}). %% sending process %% The usual transport using gen_tcp can be replaced by anything |