summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_config_writer.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_config_writer.erl b/src/couchdb/couch_config_writer.erl
index 08d4a5f5..4a859f8d 100644
--- a/src/couchdb/couch_config_writer.erl
+++ b/src/couchdb/couch_config_writer.erl
@@ -140,7 +140,7 @@ parse_module(Line, OldSection) ->
nomatch ->
OldSection;
{match, [{Start, Length}]} ->
- string:substr(Line, Start+1, Length-1)
+ string:substr(Line, Start+1, Length)
end.
%% @spec parse_variable(Line::string(), Option::string(), Value::string()) ->