diff options
| author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-08-19 18:44:21 +0200 |
|---|---|---|
| committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-12-25 17:25:11 +0100 |
| commit | 8397f4696947628807cb4b6872c7453c480e707a (patch) | |
| tree | d52fd472ae7486c1d19ee7b50dd15115b6874886 /src/ipa_proto.erl | |
| parent | feebe65c84a49cff251059f5b2c20b7f876fb044 (diff) | |
ipa_proto.erl: fix matching return value of ets:new()
Diffstat (limited to 'src/ipa_proto.erl')
| -rw-r--r-- | src/ipa_proto.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa_proto.erl b/src/ipa_proto.erl index fbe3623..9a3f3d0 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) -> |
