Module: sip-router Branch: kamailio_3.0 Commit: 65be1c576e31cfeb9f1a1ec0c095ddfcad303e7f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=65be1c576e31cfeb9f1a1ec0c095ddfcad303e7f
Author: Juha Heinanen <[email protected]> Committer: Andrei Pelinescu-Onciul <[email protected]> Date: Mon Apr 19 18:28:07 2010 +0300 modules/tm: fixed t_unref bug catcher - On behalf Andrei, added one more condition to t_unref bug catcher in order to avoid invalid BUG message. (cherry picked from commit 2812bd9c426d7a186bdc9b1d5fc4766315a64290) --- modules/tm/t_lookup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/tm/t_lookup.c b/modules/tm/t_lookup.c index c706d91..04f8a43 100644 --- a/modules/tm/t_lookup.c +++ b/modules/tm/t_lookup.c @@ -1539,7 +1539,7 @@ int t_unref( struct sip_msg* p_msg ) LOG(L_WARN, "WARNING: script writer didn't release transaction\n"); t_release_transaction(T); }else if (unlikely((kr & REQ_ERR_DELAYED) && - (kr & ~(REQ_RLSD|REQ_RPLD|REQ_ERR_DELAYED)))){ + (kr & ~(REQ_RLSD|REQ_RPLD|REQ_ERR_DELAYED|REQ_FWDED)))){ BUG("tm: t_unref: REQ_ERR DELAYED should have been caught much" " earlier for %p: %d (hex %x)\n",T, kr, kr); t_release_transaction(T); _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
