summaryrefslogtreecommitdiffstats
path: root/src/ipa_proto.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa_proto.erl')
-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) ->