Added debug.

git-svn-id: http://voip.null.ro/svn/yate@1757 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-03-11 12:03:59 +00:00
parent 7b34cf304e
commit 9f5ddc1a8f
1 changed files with 3 additions and 3 deletions

View File

@ -101,9 +101,9 @@ SS7MsgSNM* SS7MsgSNM::parse(SS7Management* receiver, unsigned char type,
SS7MsgSNM* msg = new SS7MsgSNM(type);
//#ifdef XDEBUG
String tmp;
tmp.hexify((void*)buf,len);
Debug(receiver,DebugAll,"Decoding msg=%s from buf: %s [%p]",
msg->name(),tmp.c_str(),receiver);
tmp.hexify((void*)buf,len,' ');
Debug(receiver,DebugAll,"Decoding msg=%s pctype=%u buf: %s [%p]",
msg->name(),pcType,tmp.c_str(),receiver);
//#endif
// TODO: parse the rest of the message. Check extra bytes (message specific)
if (!(buf && len))