diff options
Diffstat (limited to 'src/couchdb/couch_config_writer.erl')
-rw-r--r-- | src/couchdb/couch_config_writer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_config_writer.erl b/src/couchdb/couch_config_writer.erl index 6a56c96e..561fd6c2 100644 --- a/src/couchdb/couch_config_writer.erl +++ b/src/couchdb/couch_config_writer.erl @@ -29,7 +29,7 @@ %% @doc Saves a Module/Key/Value triple to the ini file File::filename() save_to_file({{Module, Variable}, Value}, File) -> - ?LOG_DEBUG("saving to file '~s', Congif: '~p'", [File, {{Module, Variable}, Value}]), + ?LOG_DEBUG("saving to file '~s', Config: '~p'", [File, {{Module, Variable}, Value}]), % open file and create a list of lines {ok, Stream} = file:read_file(File), @@ -84,7 +84,7 @@ save_loop({{Module, Variable}, Value}, [Line|Rest], OldCurrentModule, Contents, case lists:member(Variable, DoneVariables) of false -> DoneVariables2 = [Variable|DoneVariables], - Variable ++ "=" ++ Value ++ "\n" ++ Line; + Variable ++ " = " ++ Value ++ "\n" ++ Line; true -> DoneVariables2 = DoneVariables, Line |