aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/transport/diameter_tcp.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-06-10 11:37:18 +0200
committerAnders Svensson <[email protected]>2013-06-10 11:40:51 +0200
commita19f593704e5c9d1dd7a0f2b04341f9a929d7a41 (patch)
tree2645e40cd5127e5a59d0750619f612c42c5a59bb /lib/diameter/src/transport/diameter_tcp.erl
parentf7295b48627fb84bceef61044b6f2d0cbee10c2b (diff)
downloadotp-a19f593704e5c9d1dd7a0f2b04341f9a929d7a41.tar.gz
otp-a19f593704e5c9d1dd7a0f2b04341f9a929d7a41.tar.bz2
otp-a19f593704e5c9d1dd7a0f2b04341f9a929d7a41.zip
Remove trailing whitespace
Diffstat (limited to 'lib/diameter/src/transport/diameter_tcp.erl')
-rw-r--r--lib/diameter/src/transport/diameter_tcp.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl
index cbbba714ac..dd875e6485 100644
--- a/lib/diameter/src/transport/diameter_tcp.erl
+++ b/lib/diameter/src/transport/diameter_tcp.erl
@@ -111,7 +111,7 @@
when Ref :: diameter:transport_ref(),
Svc :: #diameter_service{},
Opt :: diameter:transport_opt().
-
+
start({T, Ref}, #diameter_service{capabilities = Caps}, Opts) ->
diameter_tcp_sup:start(), %% start tcp supervisors on demand
{Mod, Rest} = split(Opts),
@@ -225,7 +225,7 @@ laddr([], Mod, Sock) ->
Addr;
laddr([{ip, Addr}], _, _) ->
Addr.
-
+
own(Opts) ->
{Own, Rest} = proplists:split(Opts, [fragment_timer]),
{lists:append(Own), Rest}.
@@ -282,7 +282,7 @@ init_rc([]) ->
up(Pid, Remote, [{ip, _Addr}], _, _) ->
diameter_peer:up(Pid, Remote);
-up(Pid, Remote, [], Mod, Sock) ->
+up(Pid, Remote, [], Mod, Sock) ->
{Addr, _Port} = ok(sockname(Mod, Sock)),
diameter_peer:up(Pid, Remote, [Addr]).