summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
authorBenoit Chesneau <benoitc@apache.org>2010-07-02 19:10:12 +0000
committerBenoit Chesneau <benoitc@apache.org>2010-07-02 19:10:12 +0000
commit4a8b2e5d81111cdd211532f1e74d97167c3ccc86 (patch)
tree2a1a70990381299496f65b30d39d55857a04e766 /src/couchdb
parentd5f3e25e0cafc5cb8d2420406c9af8de56c552b0 (diff)
add line ending to be like the pidfile and fix typo.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960089 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_server_sup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl
index 2de48d44..4f0445da 100644
--- a/src/couchdb/couch_server_sup.erl
+++ b/src/couchdb/couch_server_sup.erl
@@ -66,7 +66,7 @@ start_server(IniFiles) ->
[io:format(" [~s] ~s=~p~n", [Module, Variable, Value])
|| {{Module, Variable}, Value} <- couch_config:all()];
_ -> ok
- end,
+ end,
LibDir =
case couch_config:get("couchdb", "util_driver_dir", null) of
@@ -126,7 +126,7 @@ start_server(IniFiles) ->
case couch_config:get("couchdb", "uri_file", null) of
null -> ok;
UriFile ->
- Line = io_lib:format("http://~s:~w/", [Ip, Port]),
+ Line = io_lib:format("http://~s:~w/~n", [Ip, Port]),
file:write_file(UriFile, Line)
end,