From a680c3efd7fe147588b970812eb465b458b8e201 Mon Sep 17 00:00:00 2001 From: yueyoum Date: Sun, 25 Aug 2013 15:26:36 +0800 Subject: [PATCH] change application:get_env/3 to get_env/2, for Compatibility --- server/src/mp_accept.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/mp_accept.erl b/server/src/mp_accept.erl index 5fa7a76..6780270 100644 --- a/server/src/mp_accept.erl +++ b/server/src/mp_accept.erl @@ -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], []). %%%===================================================================