couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] couchdb-setup git commit: R14 compatibility
Date Tue, 25 Nov 2014 11:56:54 GMT
Repository: couchdb-setup
Updated Branches:
  refs/heads/master 9c3eb0a1a -> 9728b342a


R14 compatibility


Project: http://git-wip-us.apache.org/repos/asf/couchdb-setup/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-setup/commit/be52f7ea
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-setup/tree/be52f7ea
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-setup/diff/be52f7ea

Branch: refs/heads/master
Commit: be52f7ea1cca9a7b845ac189715724b7e0c06d7e
Parents: 9c3eb0a
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Nov 25 11:54:28 2014 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Nov 25 11:54:28 2014 +0000

----------------------------------------------------------------------
 src/setup.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-setup/blob/be52f7ea/src/setup.erl
----------------------------------------------------------------------
diff --git a/src/setup.erl b/src/setup.erl
index c5a38ea..f774608 100644
--- a/src/setup.erl
+++ b/src/setup.erl
@@ -161,7 +161,7 @@ add_node_int(Options, ok) ->
     end.
 
 get_port(Port) when is_integer(Port) ->
-    integer_to_binary(Port);
+    list_to_binary(integer_to_list(Port));
 get_port(Port) when is_list(Port) ->
     list_to_binary(Port);
 get_port(Port) when is_binary(Port) ->


Mime
View raw message