aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-03-25 17:30:58 +0100
committerAnders Svensson <[email protected]>2013-03-26 17:13:14 +0100
commitbcbaf5e1bcc47cb31782a6b36bc8a538b209ebc1 (patch)
treebb50288044c4d003c079eb5fdc56079b02103d9a
parent9d211c8b4cad41f3ea42fb7087ea8d6bbfca78b2 (diff)
downloadotp-bcbaf5e1bcc47cb31782a6b36bc8a538b209ebc1.tar.gz
otp-bcbaf5e1bcc47cb31782a6b36bc8a538b209ebc1.tar.bz2
otp-bcbaf5e1bcc47cb31782a6b36bc8a538b209ebc1.zip
Minor doc/spec fix
'infinity' is a valid transport_config timeout.
-rw-r--r--lib/diameter/doc/src/diameter.xml2
-rw-r--r--lib/diameter/src/base/diameter.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index eadc42536f..7ea93d480b 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -1162,7 +1162,7 @@ transport.</p>
<marker id="transport_config"/>
<tag><c>{transport_config, term()}</c></tag>
-<tag><c>{transport_config, term(), &dict_Unsigned32;}</c></tag>
+<tag><c>{transport_config, term(), &dict_Unsigned32; | infinity}</c></tag>
<item>
<p>
A term passed as the third argument to the &transport_start; function of
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl
index 490a1fa8aa..57730cad61 100644
--- a/lib/diameter/src/base/diameter.erl
+++ b/lib/diameter/src/base/diameter.erl
@@ -335,7 +335,7 @@ call(SvcName, App, Message) ->
-type transport_opt()
:: {transport_module, atom()}
| {transport_config, any()}
- | {transport_config, any(), non_neg_integer() | infinity}
+ | {transport_config, any(), 'Unsigned32'() | infinity}
| {applications, [app_alias()]}
| {capabilities, [capability()]}
| {capabilities_cb, evaluable()}