aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-04-15 21:03:09 +0200
committerAnders Svensson <[email protected]>2017-06-12 16:13:52 +0200
commit4f8f3e551f23cbdadcad5488c828f09bf832da33 (patch)
tree6324cfffc9b77e6bc45ff5037ae13f709a4d4229 /lib
parent946cc275f79fb8b96039d7e6c0e49b3e822ecdd6 (diff)
downloadotp-4f8f3e551f23cbdadcad5488c828f09bf832da33.tar.gz
otp-4f8f3e551f23cbdadcad5488c828f09bf832da33.tar.bz2
otp-4f8f3e551f23cbdadcad5488c828f09bf832da33.zip
Fix comment typos
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/include/diameter_gen.hrl2
-rw-r--r--lib/diameter/src/base/diameter_peer_fsm.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/include/diameter_gen.hrl b/lib/diameter/include/diameter_gen.hrl
index 611ad796a9..9a5ca8e09f 100644
--- a/lib/diameter/include/diameter_gen.hrl
+++ b/lib/diameter/include/diameter_gen.hrl
@@ -695,7 +695,7 @@ grouped_decode(_Name, {Error, Acc}) ->
%% to the single offending AVP. This enables the recipient to detect
%% the location of the offending AVP when embedded in a group.
-%% An error in decoding a component AVP throws the first fauly
+%% An error in decoding a component AVP throws the first faulty
%% component, which the catch in d/3 wraps in the Grouped AVP in
%% question. A partially decoded record is only used when ignoring
%% errors in Failed-AVP.
diff --git a/lib/diameter/src/base/diameter_peer_fsm.erl b/lib/diameter/src/base/diameter_peer_fsm.erl
index d2af8fe425..2383d830e6 100644
--- a/lib/diameter/src/base/diameter_peer_fsm.erl
+++ b/lib/diameter/src/base/diameter_peer_fsm.erl
@@ -865,7 +865,7 @@ outgoing(#diameter_packet{header = #diameter_header{application_id = 0,
invalid(false, dpr_after_dpr, H) %% DPR sent: discard
end;
-%% Explict CER or DWR: discard. These are sent by us.
+%% Explicit CER or DWR: discard. These are sent by us.
outgoing(#diameter_packet{header = #diameter_header{application_id = 0,
cmd_code = C,
is_request = true}