Commit 0d48fda1 authored by Philipp Huebner's avatar Philipp Huebner

Release 0.2015.07.21-1

parent eb036efc
erlang-p1-stun (0.2015.07.21-1) unstable; urgency=medium
* Imported Upstream version 0.2015.07.21
* Enabled eunit
-- Philipp Huebner <debalance@debian.org> Mon, 17 Aug 2015 16:58:18 +0200
erlang-p1-stun (0.2014.08.20-3) unstable; urgency=high erlang-p1-stun (0.2014.08.20-3) unstable; urgency=high
[ Holger Weiss ] [ Holger Weiss ]
......
Description: Use namespaced type
Use the dict:dict() type instead of dict() in order to make the code
compile on Erlang/OTP 18.x.
Author: Holger Weiss <holger@zedat.fu-berlin.de>
diff --git a/src/stun_listener.erl b/src/stun_listener.erl
index 161081d..3fc1986 100644
--- a/src/stun_listener.erl
+++ b/src/stun_listener.erl
@@ -36,7 +36,7 @@
terminate/2, code_change/3]).
-define(TCP_SEND_TIMEOUT, 10000).
--record(state, {listeners = dict:new() :: dict()}).
+-record(state, {listeners = dict:new() :: dict:dict()}).
%%%===================================================================
%%% API
diff --git a/src/turn.erl b/src/turn.erl
index aa634d5..3c94403 100644
--- a/src/turn.erl
+++ b/src/turn.erl
@@ -65,8 +65,8 @@
realm = <<"">> :: binary(),
key = {<<"">>, <<"">>, <<"">>} :: {binary(), binary(), binary()},
server_name = <<"">> :: binary(),
- permissions = ?DICT:new() :: dict(),
- channels = ?DICT:new() :: dict(),
+ permissions = ?DICT:new() :: dict:dict(),
+ channels = ?DICT:new() :: dict:dict(),
max_permissions :: non_neg_integer() | atom(),
relay_ip = {127,0,0,1} :: inet:ip_address(),
min_port = 49152 :: non_neg_integer(),
...@@ -10,8 +10,8 @@ Index: erlang-p1-stun/rebar.config ...@@ -10,8 +10,8 @@ Index: erlang-p1-stun/rebar.config
@@ -1,8 +1,5 @@ @@ -1,8 +1,5 @@
{erl_opts, [debug_info, {i, "include"}]}. {erl_opts, [debug_info, {i, "include"}]}.
-{deps, [{p1_tls, ".*", {git, "git://github.com/processone/tls"}}, -{deps, [{p1_tls, ".*", {git, "https://github.com/processone/tls"}},
- {p1_utils, ".*", {git, "git://github.com/processone/p1_utils"}}]}. - {p1_utils, ".*", {git, "https://github.com/processone/p1_utils"}}]}.
- -
%% Local Variables: %% Local Variables:
%% mode: erlang %% mode: erlang
......
remove-deps.diff remove-deps.diff
namespaced-type.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment