diff options
author | Anders Svensson <[email protected]> | 2014-03-31 10:58:17 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2014-03-31 10:58:17 +0200 |
commit | 12501a16ce960bfe778c319d17d0c4b7d0bb1d68 (patch) | |
tree | 9f179f4259016a450bd6b500683a8327924b7263 /lib/diameter/src/base/diameter_service.erl | |
parent | 07eee76fa86019a922784099403ad3d9f0d958eb (diff) | |
parent | c2d88d4b3fec56ac6def50ecc651dc1cefd1bf5d (diff) | |
download | otp-12501a16ce960bfe778c319d17d0c4b7d0bb1d68.tar.gz otp-12501a16ce960bfe778c319d17d0c4b7d0bb1d68.tar.bz2 otp-12501a16ce960bfe778c319d17d0c4b7d0bb1d68.zip |
Merge branch 'anders/diameter/pick_peer/OTP-11789'
* anders/diameter/pick_peer/OTP-11789:
Fix pick_peer case clause failure
Diffstat (limited to 'lib/diameter/src/base/diameter_service.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_service.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl index 1274e0fc48..8914992f17 100644 --- a/lib/diameter/src/base/diameter_service.erl +++ b/lib/diameter/src/base/diameter_service.erl @@ -1389,6 +1389,8 @@ pick_peer(Local, Remote, Pid, _SvcName, #diameter_app{mutable = true} = App) case call_service(Pid, {pick_peer, Local, Remote, App}) of {TPid, _} = T when is_pid(TPid) -> T; + false = No -> + No; {error, _} -> false end; |