summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-08-22 18:13:03 +0200
committerHarald Welte <laforge@gnumonks.org>2019-08-22 18:13:03 +0200
commit114e101be0edd004fbe1447d1da66856ec672529 (patch)
treeddf20a268cddaa8cad5b713e2691cc76a4ad471c
parent0b68059468026d6ac62429d91c43394b91b0dd47 (diff)
ipa_proto: Fix ets callslaforge/wip
-rw-r--r--src/ipa_proto.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa_proto.erl b/src/ipa_proto.erl
index b28b5cd..7d8b964 100644
--- a/src/ipa_proto.erl
+++ b/src/ipa_proto.erl
@@ -229,8 +229,8 @@ reply({From, Ref}, Reply) ->
% global module initialization
init() ->
- {ok, ipa_sockets} = ets:new(ipa_sockets, [named_table, set, public, {keypos, #ipa_socket.socket}]),
- {ok, ipa_codecs} = ets:new(ipa_codecs, [named_table, set, public, {keypos, #ipa_codec.streamId}]).
+ ipa_sockets = ets:new(ipa_sockets, [named_table, set, public, {keypos, #ipa_socket.socket}]),
+ ipa_codecs = ets:new(ipa_codecs, [named_table, set, public, {keypos, #ipa_codec.streamId}]).
% initialize a signle socket, create its handle process
init_sock(Socket, CallingPid) ->