You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/06 18:39:49 UTC

[07/50] [abbrv] couch commit: updated refs/heads/import-rcouch to e2dbc79

load plugin config from priv/default.d/*.ini


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

Branch: refs/heads/import-rcouch
Commit: c7cd4b41a8d765028991f32fdc606a96b055f05b
Parents: cfa092c
Author: Bob Ippolito <bo...@redivi.com>
Authored: Thu Aug 1 01:47:50 2013 -0700
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Thu Oct 3 16:08:35 2013 +0200

----------------------------------------------------------------------
 couch_config.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/c7cd4b41/couch_config.erl
----------------------------------------------------------------------
diff --git a/couch_config.erl b/couch_config.erl
index 96fabba..22d7cdc 100644
--- a/couch_config.erl
+++ b/couch_config.erl
@@ -94,7 +94,7 @@ register(Fun, Pid) ->
 init(IniFiles) ->
     ets:new(?MODULE, [named_table, set, protected]),
     try
-        lists:map(fun(IniFile) ->
+        lists:foreach(fun(IniFile) ->
             {ok, ParsedIniValues} = parse_ini_file(IniFile),
             ets:insert(?MODULE, ParsedIniValues)
         end, IniFiles),