Skip to content

Commit

Permalink
change application:get_env/3 to get_env/2, for Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyoum committed Aug 25, 2013
1 parent 5ac913a commit a680c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/mp_accept.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
%% @end
%%--------------------------------------------------------------------
start_link() ->
Port = application:get_env(make_proxy_server, port, 7071),
{ok, Port} = application:get_env(make_proxy_server, port),
gen_server:start_link({local, ?MODULE}, ?MODULE, [Port], []).

%%%===================================================================
Expand Down

0 comments on commit a680c3e

Please sign in to comment.