aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Hellkvist <[email protected]>2015-12-04 11:31:02 +0100
committerStefan Hellkvist <[email protected]>2015-12-04 11:31:02 +0100
commitd88f3675dba9e066ef339789d8c223358f744aac (patch)
treeb530dfb30f9a1b170aaec27f8683ec2c45ddbfa8
parent881d09a20b0d0533ee4f8d7c93b213500031532e (diff)
downloadgun-d88f3675dba9e066ef339789d8c223358f744aac.tar.gz
gun-d88f3675dba9e066ef339789d8c223358f744aac.tar.bz2
gun-d88f3675dba9e066ef339789d8c223358f744aac.zip
Remove faulty ; in example
@ exit(timeout) in receive ... after 1000 ->
-rw-r--r--doc/src/guide/websocket.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/websocket.asciidoc b/doc/src/guide/websocket.asciidoc
index 5a1957c..4869a2e 100644
--- a/doc/src/guide/websocket.asciidoc
+++ b/doc/src/guide/websocket.asciidoc
@@ -61,7 +61,7 @@ receive
exit({ws_upgrade_failed, Reason})
%% More clauses here as needed.
after 1000 ->
- exit(timeout);
+ exit(timeout)
end.
=== Sending data