LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0235-Doc-use-that-node-name-between-code-and-commands.patch of Package erlang (Project home:Ledest:erlang:20)

From ccb90ac7ca615fb199a1611a2b821d36f2c82e9e Mon Sep 17 00:00:00 2001
From: Yoan Tournade <yoan@ytotech.com>
Date: Thu, 5 Apr 2018 23:27:17 +0200
Subject: [PATCH] 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.
---
 system/doc/getting_started/conc_prog.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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},...]
-- 
2.16.3