Module: sems Branch: master Commit: 216e8646efd459db840000ab840b17f73946cd37 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=216e8646efd459db840000ab840b17f73946cd37
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Tue Jul 20 20:32:08 2010 +0200 core: fix access to erased transaction --- core/AmSipDialog.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index 5436a15..5b95491 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -202,10 +202,10 @@ int AmSipDialog::updateStatusReply(const AmSipRequest& req, unsigned int code) DBG("req.method = %s; t.method = %s\n", req.method.c_str(),t.method.c_str()); - uas_trans.erase(t_it); - if(t.method == "INVITE") pending_invites--; + + uas_trans.erase(t_it); } return 0; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
