summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme de Bretagne <jerome.debretagne@gmail.com>2019-08-25 19:33:43 +0200
committerJérôme de Bretagne <jerome.debretagne@gmail.com>2019-08-25 19:51:01 +0200
commitfbc3412774dda10097611743cebe6f7401da7c92 (patch)
treefe0b1f7806b781191b40a62544fd36cbe8a39665
parenta7c5d6c80d6879cb1c67b60632ac31c5459c26d4 (diff)
downloaderlang-fbc3412774dda10097611743cebe6f7401da7c92.tar.gz
kernel: Fix typo in gen_tcp_dist documentation
-rw-r--r--lib/kernel/examples/gen_tcp_dist/src/gen_tcp_dist.erl17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/kernel/examples/gen_tcp_dist/src/gen_tcp_dist.erl b/lib/kernel/examples/gen_tcp_dist/src/gen_tcp_dist.erl
index cda4c470f9..bc2e07ddf5 100644
--- a/lib/kernel/examples/gen_tcp_dist/src/gen_tcp_dist.erl
+++ b/lib/kernel/examples/gen_tcp_dist/src/gen_tcp_dist.erl
@@ -1,8 +1,8 @@
%%
%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 2017. All Rights Reserved.
-%%
+%%
+%% Copyright Ericsson AB 2017-2019. All Rights Reserved.
+%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
%% You may obtain a copy of the License at
@@ -14,7 +14,7 @@
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%% See the License for the specific language governing permissions and
%% limitations under the License.
-%%
+%%
%% %CopyrightEnd%
%%
-module(gen_tcp_dist).
@@ -30,12 +30,11 @@
%% VM.
%%
%% This code is a rewrite of the lib/kernel/src/inet_tcp_dist.erl
-%% distribution impementation for TCP used by default. That
-%% implementation use distribution ports instead of distribution
+%% distribution implementation for TCP used by default. The default
+%% implementation uses distribution ports instead of distribution
%% processes and is more efficient compared to this implementation.
-%% This since this implementation more or less gets the
-%% distribution processes in between the VM and the ports without
-%% any gain specific gain.
+%% This example more or less gets the distribution processes
+%% in between the VM and the ports without any specific gain.
%%
-export([listen/1, accept/1, accept_connection/5,