Module: sems Branch: rco/dnscache Commit: 2eeef30fbbe97a861306cf803aa7679cecfe4489 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2eeef30fbbe97a861306cf803aa7679cecfe4489
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Sep 2 23:28:13 2010 +0200 fix bug introduced with f5bfad916ca2ebf9ca2f22414993141a91c88afa --- core/sip/sip_trans.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/sip/sip_trans.cpp b/core/sip/sip_trans.cpp index e8522b9..44d51d6 100644 --- a/core/sip/sip_trans.cpp +++ b/core/sip/sip_trans.cpp @@ -115,7 +115,7 @@ void sip_trans::reset_timer(timer* t, unsigned int timer_type) if(*tp != NULL){ - DBG("Clearing old timer of type %c\n",timer_name((*tp)->type)); + DBG("Clearing old timer of type %c (this=%p)\n",timer_name((*tp)->type),*tp); wheeltimer::instance()->remove_timer(*tp); } @@ -138,7 +138,7 @@ void trans_timer_cb(timer* t, unsigned int bucket_id, sip_trans* tr) else { WARN("Transaction %p does not exist anymore\n",tr); WARN("Timer type=%c will be deleted without further processing\n",timer_name(t->type)); - wheeltimer::instance()->remove_timer(t); + //wheeltimer::instance()->remove_timer(t); } bucket->unlock(); } @@ -181,7 +181,6 @@ void sip_trans::reset_all_timers() for(int i=0; i<SIP_TRANS_TIMERS; i++){ if(timers[i]){ - DBG("remove_timer(%p)\n",timers[i]); wheeltimer::instance()->remove_timer(timers[i]); timers[i] = NULL; } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
