aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_watchdog.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-11-02 16:42:02 +0100
committerAnders Svensson <[email protected]>2011-11-10 16:23:50 +0100
commit020e92da676417dd1ab955d3ac81199972cace64 (patch)
tree19618835e625ade680ed0308b0ef4f3deed1d440 /lib/diameter/src/base/diameter_watchdog.erl
parentd415d9cd2c1adba28ce901ea1dd382cca96ae06c (diff)
downloadotp-020e92da676417dd1ab955d3ac81199972cace64.tar.gz
otp-020e92da676417dd1ab955d3ac81199972cace64.tar.bz2
otp-020e92da676417dd1ab955d3ac81199972cace64.zip
Rename some functions plus comment tweak
In diameter_service: make_packet -> make_request_packet make_header -> make_request_header make_reply_packet -> make_answer_packet
Diffstat (limited to 'lib/diameter/src/base/diameter_watchdog.erl')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index b7c1491f4b..6dc53d9f31 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -179,11 +179,11 @@ transition({close, TPid, _Reason}, #watchdog{transport = TPid}) ->
%% state okay as the result of the Peer State Machine reaching the
%% Open state.
%%
-%% If we're an acceptor then we may be resuming a connection that went
-%% down in another acceptor process, in which case this is the
-%% transition below, from down into reopen. That is, it's not until
-%% we know the identity of the peer (ie. now) that we know that we're
-%% in state down rather than initial.
+%% If we're accepting then we may be resuming a connection that went
+%% down in another watchdog process, in which case this is the
+%% transition below, from down to reopen. That is, it's not until we
+%% know the identity of the peer (ie. now) that we know that we're in
+%% state down rather than initial.
transition({open, TPid, Hosts, T} = Open,
#watchdog{transport = TPid,