Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
R14 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewson committed Nov 25, 2014
1 parent 9c3eb0a commit be52f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.erl
Expand Up @@ -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) ->
Expand Down

0 comments on commit be52f7e

Please sign in to comment.