You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/03 23:12:21 UTC

[07/29] twig commit: updated refs/heads/import to 2d56280

Return a proper response for server initialization


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

Branch: refs/heads/import
Commit: cdb23a66f7b6c403bb60b164e09b19555d114009
Parents: d40c614
Author: Adam Kocoloski <ad...@cloudant.com>
Authored: Tue Mar 8 14:05:44 2011 -0500
Committer: Adam Kocoloski <ad...@cloudant.com>
Committed: Tue Mar 8 14:05:44 2011 -0500

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


http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/cdb23a66/src/twig_monitor.erl
----------------------------------------------------------------------
diff --git a/src/twig_monitor.erl b/src/twig_monitor.erl
index 5a4f86c..81b04bd 100644
--- a/src/twig_monitor.erl
+++ b/src/twig_monitor.erl
@@ -23,7 +23,8 @@ start_link() ->
     gen_server:start_link(?MODULE, [], []).
 
 init(_) ->
-    gen_event:add_sup_handler(error_logger, twig_event_handler, []).
+    ok = gen_event:add_sup_handler(error_logger, twig_event_handler, []),
+    {ok, nil}.
 
 handle_call(_Call, _From, State) ->
     {reply, ignored, State}.