ipa_proto.erl: fix matching return value of ets:new()
This commit is contained in:
parent
feebe65c84
commit
8397f46969
|
@ -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) ->
|
||||
|
|
Loading…
Reference in New Issue