couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [3/5] couch commit: updated refs/heads/master to 5f9cf9f
Date Wed, 25 May 2016 17:39:36 GMT
gen_server: handle_call suppose to return `{reply, Res, State}`


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

Branch: refs/heads/master
Commit: 4214c4facecd92b8f336d1bb5d6ecbab99c49674
Parents: b65bf01
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue May 24 17:34:50 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue May 24 17:34:50 2016 -0700

----------------------------------------------------------------------
 src/couch_event_sup.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/4214c4fa/src/couch_event_sup.erl
----------------------------------------------------------------------
diff --git a/src/couch_event_sup.erl b/src/couch_event_sup.erl
index 39e728c..b617498 100644
--- a/src/couch_event_sup.erl
+++ b/src/couch_event_sup.erl
@@ -62,7 +62,7 @@ terminate(_Reason, _State) ->
     ok.
 
 handle_call(_Whatever, _From, State) ->
-    {ok, State}.
+    {reply, ok, State}.
 
 handle_cast(stop, State) ->
     {stop, normal, State}.


Mime
View raw message