summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_config.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_config.erl')
-rw-r--r--src/couchdb/couch_config.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl
index 5b93c4ec..a182b80c 100644
--- a/src/couchdb/couch_config.erl
+++ b/src/couchdb/couch_config.erl
@@ -54,7 +54,7 @@ get(Section) ->
get(Section, Key) ->
?MODULE:get(Section, Key, undefined).
-
+
get(Section, Key, Default) when is_binary(Section) and is_binary(Key) ->
?MODULE:get(?b2l(Section), ?b2l(Key), Default);
get(Section, Key, Default) ->
@@ -194,9 +194,9 @@ parse_ini_file(IniFile) ->
{ok, [ValueName|LineValues]} -> % yeehaw, got a line!
RemainingLine = couch_util:implode(LineValues, "="),
% removes comments
- {ok, [LineValue | _Rest]} =
+ {ok, [LineValue | _Rest]} =
regexp:split(RemainingLine, " ;|\t;"),
- {AccSectionName,
+ {AccSectionName,
[{{AccSectionName, ValueName}, LineValue} | AccValues]}
end
end