From commits-return-4627-apmail-couchdb-commits-archive=couchdb.apache.org@couchdb.apache.org Fri Jul 02 19:11:40 2010 Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 49026 invoked from network); 2 Jul 2010 19:11:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 19:11:39 -0000 Received: (qmail 76468 invoked by uid 500); 2 Jul 2010 19:11:39 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 76341 invoked by uid 500); 2 Jul 2010 19:11:38 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 76334 invoked by uid 99); 2 Jul 2010 19:11:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 19:11:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 19:11:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4244423889CB; Fri, 2 Jul 2010 19:10:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r960089 - /couchdb/trunk/src/couchdb/couch_server_sup.erl Date: Fri, 02 Jul 2010 19:10:13 -0000 To: commits@couchdb.apache.org From: benoitc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100702191013.4244423889CB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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,