forked from erlang/signerl
TCO: Fix ets lookup when receiving END transaction
This commit is contained in:
parent
a0efe8a006
commit
556e14a07f
|
@ -382,7 +382,7 @@ handle_cast({'N', 'UNITDATA', indication, UdataParams}, State)
|
||||||
% end;
|
% end;
|
||||||
{ok, {'end', TPDU = #'End'{dtid = Dtid}}} ->
|
{ok, {'end', TPDU = #'End'{dtid = Dtid}}} ->
|
||||||
% DTID assigned?
|
% DTID assigned?
|
||||||
case catch ets:lookup(tcap_transaction, decode_tid(Dtid), 2) of
|
case ets:lookup_element(tcap_transaction, decode_tid(Dtid), 2) of
|
||||||
{error, _Reason} ->
|
{error, _Reason} ->
|
||||||
error_logger:error_report(["DTID not found in received N-END",
|
error_logger:error_report(["DTID not found in received N-END",
|
||||||
{dtid, Dtid},
|
{dtid, Dtid},
|
||||||
|
|
Loading…
Reference in New Issue