couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject svn commit: r960089 - /couchdb/trunk/src/couchdb/couch_server_sup.erl
Date Fri, 02 Jul 2010 19:10:13 GMT
Author: benoitc
Date: Fri Jul  2 19:10:12 2010
New Revision: 960089

URL: http://svn.apache.org/viewvc?rev=960089&view=rev
Log:
add line ending to be like the pidfile and fix typo.

Modified:
    couchdb/trunk/src/couchdb/couch_server_sup.erl

Modified: couchdb/trunk/src/couchdb/couch_server_sup.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_server_sup.erl?rev=960089&r1=960088&r2=960089&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_server_sup.erl (original)
+++ couchdb/trunk/src/couchdb/couch_server_sup.erl Fri Jul  2 19:10:12 2010
@@ -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,
 



Mime
View raw message