TCO: Fix ets lookup when receiving END transaction

This commit is contained in:
Harald Welte 2012-01-30 22:55:13 +01:00
parent a0efe8a006
commit 556e14a07f
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ handle_cast({'N', 'UNITDATA', indication, UdataParams}, State)
% end;
{ok, {'end', TPDU = #'End'{dtid = Dtid}}} ->
% 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_logger:error_report(["DTID not found in received N-END",
{dtid, Dtid},