aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_record.erl
diff options
context:
space:
mode:
authorAndrew Dryga <[email protected]>2017-02-14 11:28:43 +0200
committerAndrew Dryga <[email protected]>2017-02-14 11:32:55 +0200
commitf02546eb5c8e1794cf0c4559a046946ff3ebb8d4 (patch)
tree04a91853805f48e279f88f34d0e32ca11e451d1b /lib/ssl/src/ssl_record.erl
parent4541b1f6c136bd2225ec6a6392454b2e5dddd6e9 (diff)
downloadotp-f02546eb5c8e1794cf0c4559a046946ff3ebb8d4.tar.gz
otp-f02546eb5c8e1794cf0c4559a046946ff3ebb8d4.tar.bz2
otp-f02546eb5c8e1794cf0c4559a046946ff3ebb8d4.zip
Fixed typos in lib/ssl
Diffstat (limited to 'lib/ssl/src/ssl_record.erl')
-rw-r--r--lib/ssl/src/ssl_record.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_record.erl b/lib/ssl/src/ssl_record.erl
index b10069c3cb..539e189c4f 100644
--- a/lib/ssl/src/ssl_record.erl
+++ b/lib/ssl/src/ssl_record.erl
@@ -67,7 +67,7 @@
connection_state().
%%
%% Description: Returns the instance of the connection_state map
-%% that is currently defined as the current conection state.
+%% that is currently defined as the current connection state.
%%--------------------------------------------------------------------
current_connection_state(ConnectionStates, read) ->
maps:get(current_read, ConnectionStates);
@@ -79,7 +79,7 @@ current_connection_state(ConnectionStates, write) ->
connection_state().
%%
%% Description: Returns the instance of the connection_state map
-%% that is pendingly defined as the pending conection state.
+%% that is pendingly defined as the pending connection state.
%%--------------------------------------------------------------------
pending_connection_state(ConnectionStates, read) ->
maps:get(pending_read, ConnectionStates);