Better debug output .

FossilOrigin-Name: f56a301dcf9fad8d1ea00a8182c322f9d1e1f9198f87c13bf1f24ac1766b74ae
This commit is contained in:
7u83@mail.ru 2014-08-24 13:05:36 +00:00
parent 25a321ce5f
commit 4d84e7bee0
1 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,9 @@
static int wtpinfo_readelem_discovery_req(void * w,int type,uint8_t* msgelem,int len)
{
struct wtpinfo * wtpinfo = (struct wtpinfo *)w;
cw_dbg(DBG_CW_MSGELEM,"Process discovery req msgelem, type=%d (%s), len=%d",type,cw_msgelemtostr(type),len);
cw_dbg_dmp(DBG_CW_MSGELEM_DMP,msgelem,len,"Dump for msgelem ...");
// cw_dbg(DBG_CW_MSGELEM,"Process discovery req msgelem, type=%d (%s), len=%d",type,cw_msgelemtostr(type),len);
// cw_dbg_dmp(DBG_CW_MSGELEM_DMP,msgelem,len,"Dump for msgelem ...");
cw_dbg_msgelem(CWMSG_DISCOVERY_REQUEST, type, msgelem,len);
if (wtpinfo_readelem_discovery_type(wtpinfo,type,msgelem,len))
return 1;