From 114e101be0edd004fbe1447d1da66856ec672529 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 22 Aug 2019 18:13:03 +0200 Subject: ipa_proto: Fix ets calls --- src/ipa_proto.erl | 4 ++-- 1 file 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) -> -- cgit v1.2.3