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 <iil...@ca.ibm.com> Authored: Tue May 24 17:34:50 2016 -0700 Committer: ILYA Khlopotov <iil...@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}.