Author: sayer
Date: 2008-07-16 17:19:30 +0200 (Wed, 16 Jul 2008)
New Revision: 1055

Modified:
   trunk/core/plug-in/sipctrl/sip_trans.cpp
Log:
print timer types in dbg message

Modified: trunk/core/plug-in/sipctrl/sip_trans.cpp
===================================================================
--- trunk/core/plug-in/sipctrl/sip_trans.cpp    2008-07-16 14:49:46 UTC (rev 
1054)
+++ trunk/core/plug-in/sipctrl/sip_trans.cpp    2008-07-16 15:19:30 UTC (rev 
1055)
@@ -101,7 +101,8 @@
     
     if(*tp != NULL){
 
-       DBG("Clearing old timer of type %p\n",(void*)(*tp)->type);
+       DBG("Clearing old timer of type %c\n",
+           (*tp)->type?'A'+(*tp)->type-1:'0');
        wheeltimer::instance()->remove_timer(*tp);
     }
 
@@ -146,7 +147,8 @@
     unsigned int expires = expire_delay / (TIMER_RESOLUTION/1000);
     expires += wt->wall_clock;
     
-    DBG("New timer of type 0x%x at time=%i\n",timer_type,expires);
+    DBG("New timer of type %c at time=%i\n",
+       timer_type?'A'+timer_type-1:'0',expires);
 
     timer* t = new timer(timer_type,expires,
                         (timer_cb)trans_timer_cb,

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to