couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [42/50] mochiweb commit: updated refs/heads/1843-feature-bigcouch to 432c949
Date Thu, 17 Apr 2014 18:17:10 GMT
fix state bug


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/6ab8d833
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/6ab8d833
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/6ab8d833

Branch: refs/heads/1843-feature-bigcouch
Commit: 6ab8d833998caf1a85ee9471e0b2fea5cada2c64
Parents: d253ce8
Author: Bob Ippolito <bob@redivi.com>
Authored: Thu Dec 26 14:28:31 2013 -0800
Committer: Bob Ippolito <bob@redivi.com>
Committed: Thu Dec 26 14:28:31 2013 -0800

----------------------------------------------------------------------
 examples/websocket/websocket.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/6ab8d833/examples/websocket/websocket.erl
----------------------------------------------------------------------
diff --git a/examples/websocket/websocket.erl b/examples/websocket/websocket.erl
index 4a782d8..cd52da1 100644
--- a/examples/websocket/websocket.erl
+++ b/examples/websocket/websocket.erl
@@ -111,7 +111,8 @@ broadcast_server(Pids) ->
                 {'DOWN', MRef, process, Pid, _Reason} ->
                     broadcast_down(Pid, MRef, Pids);
                 Msg ->
-                    io:format("Unknown message: ~p~n", [Msg])
+                    io:format("Unknown message: ~p~n", [Msg]),
+                    Pids
             end,
     erlang:hibernate(?MODULE, broadcast_server, [Pids1]).
 


Mime
View raw message