Fix arity of listen_for_changes calls
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7070a151 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/7070a151 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/7070a151 Branch: refs/heads/windsor-merge-209 Commit: 7070a151b2d97cfd748c8cb19d4409a222added4 Parents: ef1af37 Author: Robert Newson <[email protected]> Authored: Sat Jul 13 00:38:18 2013 +0100 Committer: Robert Newson <[email protected]> Committed: Tue Aug 5 16:52:07 2014 +0100 ---------------------------------------------------------------------- src/couch_external_server.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/7070a151/src/couch_external_server.erl ---------------------------------------------------------------------- diff --git a/src/couch_external_server.erl b/src/couch_external_server.erl index 56406bb..123e2e1 100644 --- a/src/couch_external_server.erl +++ b/src/couch_external_server.erl @@ -43,7 +43,7 @@ init([Name, Command]) -> Timeout = list_to_integer(config:get("couchdb", "os_process_timeout", "5000")), {ok, Pid} = couch_os_process:start_link(Command, [{timeout, Timeout}]), - ok = config:listen_for_changes(?MODULE, {Name, Command, Pid}, Pid), + ok = config:listen_for_changes(?MODULE, Pid), {ok, {Name, Command, Pid}}. terminate(_Reason, {_Name, _Command, Pid}) ->
