You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2015/06/02 21:35:36 UTC

[05/50] couch commit: updated refs/heads/2080-port-cors-to-chttpd to 529339b

Rename function arguments for clarity.

COUCHDB-2547


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

Branch: refs/heads/2080-port-cors-to-chttpd
Commit: 51eec4a2f3d4dd529e8336ff42650f1095222c1e
Parents: 7cc94fa
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Thu Feb 5 11:25:46 2015 -0800
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Tue Feb 10 11:07:06 2015 -0800

----------------------------------------------------------------------
 src/couch_db.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/51eec4a2/src/couch_db.erl
----------------------------------------------------------------------
diff --git a/src/couch_db.erl b/src/couch_db.erl
index 63aef55..ae80123 100644
--- a/src/couch_db.erl
+++ b/src/couch_db.erl
@@ -118,8 +118,8 @@ ensure_full_commit(Db, RequiredSeq) ->
     ok = gen_server:call(Pid, {full_commit, RequiredSeq}, infinity),
     {ok, StartTime}.
 
-close(#db{fd_monitor=RefCntr}) ->
-    erlang:demonitor(RefCntr, [flush]),
+close(#db{fd_monitor=Ref}) ->
+    erlang:demonitor(Ref, [flush]),
     ok.
 
 is_idle(#db{compactor_pid=nil, waiting_delayed_commit=nil} = Db) ->