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.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl
index c8c803fe..48386949 100644
--- a/src/couchdb/couch_config.erl
+++ b/src/couchdb/couch_config.erl
@@ -161,7 +161,7 @@ load_ini_file(IniFile) ->
";" ++ _Comment ->
{AccSectionName, AccValues};
Line2 ->
- case regexp:split(Line2, "=") of
+ case regexp:split(Line2, "\s?=\s?") of
{ok, [_SingleElement]} -> % no "=" found, ignore this line
{AccSectionName, AccValues};
{ok, [""|_LineValues]} -> % line begins with "=", ignore