You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/07 17:37:40 UTC

[18/50] couch commit: updated refs/heads/windsor-merge to 6e60cbe

Fix typo in auth cache event listener config


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

Branch: refs/heads/windsor-merge
Commit: f1e1638ebd713c1b630034dfe03e6de6da1bd83c
Parents: d34d796
Author: Paul J. Davis <pa...@gmail.com>
Authored: Fri Jun 14 18:47:02 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Tue Aug 5 16:19:11 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f1e1638e/src/couch_auth_cache.erl
----------------------------------------------------------------------
diff --git a/src/couch_auth_cache.erl b/src/couch_auth_cache.erl
index 72e9278..82fb095 100644
--- a/src/couch_auth_cache.erl
+++ b/src/couch_auth_cache.erl
@@ -213,7 +213,7 @@ handle_info({'EXIT', LPid, _Reason}, #state{event_listener=LPid}=State) ->
 handle_info(restart_event_listener, State) ->
     [{auth_db_name, AuthDbName}] = ets:lookup(?STATE, auth_db_name),
     {ok, NewListener} = couch_event:link_listener(
-            ?MODULE, handle_db_event, nil, [{dbanme, AuthDbName}]
+            ?MODULE, handle_db_event, nil, [{dbname, AuthDbName}]
         ),
     {noreply, State#state{event_listener=NewListener}};
 handle_info({gen_event_EXIT, {config_listener, ?MODULE}, _Reason}, State) ->