aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-08-23 09:38:50 +0200
committerRaimo Niskanen <[email protected]>2011-08-23 09:38:50 +0200
commit0981dc32a3ae6f610b9bbcc9871076154b86c7ea (patch)
tree1e6afddb01ff53a695ae60be99f957ea3dcc321e /lib/kernel
parentf228e2ab690a974face95911a29a1e5a5a7ffaf5 (diff)
downloadotp-0981dc32a3ae6f610b9bbcc9871076154b86c7ea.tar.gz
otp-0981dc32a3ae6f610b9bbcc9871076154b86c7ea.tar.bz2
otp-0981dc32a3ae6f610b9bbcc9871076154b86c7ea.zip
Fix missing comma in code example
Courtesy of William B. Morgan at Bigpoint Inc.
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/doc/src/gen_tcp.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/gen_tcp.xml b/lib/kernel/doc/src/gen_tcp.xml
index f1d42d9faa..ebd822359a 100644
--- a/lib/kernel/doc/src/gen_tcp.xml
+++ b/lib/kernel/doc/src/gen_tcp.xml
@@ -37,7 +37,7 @@
binary and closing the connection:</p>
<code type="none">
client() ->
- SomeHostInNet = "localhost" % to make it runnable on one machine
+ SomeHostInNet = "localhost", % to make it runnable on one machine
{ok, Sock} = gen_tcp:connect(SomeHostInNet, 5678,
[binary, {packet, 0}]),
ok = gen_tcp:send(Sock, "Some Data"),