aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormagicgoose <[email protected]>2015-10-22 09:14:51 +0300
committermagicgoose <[email protected]>2015-10-22 09:14:51 +0300
commit6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3 (patch)
tree365929e97e1edbacfd592aa47c304b1940ddc6f4
parentf5ce5efe00b9a0573a53e5cffc0704b57c083831 (diff)
downloadgun-6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3.tar.gz
gun-6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3.tar.bz2
gun-6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3.zip
fixed typo in code snippet
-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 35580ca..5a1957c 100644
--- a/doc/src/guide/websocket.asciidoc
+++ b/doc/src/guide/websocket.asciidoc
@@ -58,7 +58,7 @@ receive
{gun_response, ConnPid, _, _, Status, Headers} ->
exit({ws_upgrade_failed, Status, Headers});
{gun_error, ConnPid, StreamRef, Reason} ->
- exit({ws_upgrade_failed, Reason});
+ exit({ws_upgrade_failed, Reason})
%% More clauses here as needed.
after 1000 ->
exit(timeout);