aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-08 16:28:47 +0100
committerAnders Svensson <[email protected]>2012-11-15 16:07:50 +0100
commitd192dc3d1e0726ab23ebeaa39cca965535952032 (patch)
tree45e0baf6df696869f76e6dc75c0884b865539895
parent8b1bba0c46e6afdcd820c09ba8e432e447088854 (diff)
downloadotp-d192dc3d1e0726ab23ebeaa39cca965535952032.tar.gz
otp-d192dc3d1e0726ab23ebeaa39cca965535952032.tar.bz2
otp-d192dc3d1e0726ab23ebeaa39cca965535952032.zip
Correct diameter:remove_transport/2 doc
Error can be returned if the service process goes down while remove_transport is ongoing.
-rw-r--r--lib/diameter/doc/src/diameter.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index e1442a108e..b40161045d 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -1254,7 +1254,7 @@ at the time the diameter application was started.</p>
<!-- ===================================================================== -->
<func>
-<name>remove_transport(SvcName, Pred) -> ok</name>
+<name>remove_transport(SvcName, Pred) -> ok | {error, Reason}</name>
<fsummary>Remove previously added transports.</fsummary>
<type>
<v>SvcName = <seealso marker="#service_name">service_name()</seealso></v>
@@ -1264,6 +1264,7 @@ at the time the diameter application was started.</p>
<v>&nbsp;&nbsp;&nbsp; | fun((<seealso marker="#transport_ref">transport_ref()</seealso>, list()) -> boolean())</v>
<v>&nbsp;&nbsp;&nbsp; | fun((list()) -> boolean())</v>
<v>MFA = {atom(), atom(), list()}</v>
+<v>Reason = term()</v>
</type>
<desc>
<p>