aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoan Tournade <[email protected]>2018-04-05 23:27:17 +0200
committerGitHub <[email protected]>2018-04-05 23:27:17 +0200
commitccb90ac7ca615fb199a1611a2b821d36f2c82e9e (patch)
treeaf42398c5fc5dbf12e8cc26de412178c43d3a18b
parent1328163db6d64d4a8309306cd4caeb43ffd5ecbb (diff)
downloadotp-ccb90ac7ca615fb199a1611a2b821d36f2c82e9e.tar.gz
otp-ccb90ac7ca615fb199a1611a2b821d36f2c82e9e.tar.bz2
otp-ccb90ac7ca615fb199a1611a2b821d36f2c82e9e.zip
Doc: use that node name between code and commands
The server_node() function in the sample code was referring to messenger@bill, while the commands that follow use messenger@super as node name. Making both names consistent make it easier for newbies to test the code.
-rw-r--r--system/doc/getting_started/conc_prog.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/doc/getting_started/conc_prog.xml b/system/doc/getting_started/conc_prog.xml
index 7936e0d484..dc378dd582 100644
--- a/system/doc/getting_started/conc_prog.xml
+++ b/system/doc/getting_started/conc_prog.xml
@@ -627,7 +627,7 @@ ping finished</pre>
%%% Change the function below to return the name of the node where the
%%% messenger server runs
server_node() ->
- messenger@bill.
+ messenger@super.
%%% This is the server process for the "messenger"
%%% the user list has the format [{ClientPid1, Name1},{ClientPid22, Name2},...]