Module: sems Branch: master Commit: 685a3985c6b78cfa62ed01eafdac4766383d6b8e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=685a3985c6b78cfa62ed01eafdac4766383d6b8e
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Wed Jul 9 15:29:09 2014 +0200 trans_layer: added timers to transaction dump --- core/sip/sip_trans.cpp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/sip/sip_trans.cpp b/core/sip/sip_trans.cpp index 6deec58..ef96192 100644 --- a/core/sip/sip_trans.cpp +++ b/core/sip/sip_trans.cpp @@ -280,9 +280,12 @@ const char* sip_trans::state_str() const void sip_trans::dump() const { DBG("type=%s (0x%x); msg=%p; to_tag=%.*s;" - " reply_status=%i; state=%s (%i); retr_buf=%p\n", + " reply_status=%i; state=%s (%i); retr_buf=%p; timers [%s,%s,%s]\n", type_str(),type,msg,to_tag.len,to_tag.s, - reply_status,state_str(),state,retr_buf); + reply_status,state_str(),state,retr_buf, + timers[0]==NULL?"none":timer_name(timers[0]->type), + timers[1]==NULL?"none":timer_name(timers[1]->type), + timers[2]==NULL?"none":timer_name(timers[2]->type)); } /** EMACS ** _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
