Does now some debugging output.

FossilOrigin-Name: 88c2a66ce32c948f846cf487e7b0661b8e0b5cdb68b6f24b89642bcba8997680
This commit is contained in:
7u83@mail.ru 2014-08-13 08:31:29 +00:00
parent eadecd5cee
commit 0eca484ac5

View File

@ -26,10 +26,14 @@
#include "wtpinfo.h" #include "wtpinfo.h"
#include "cw_util.h" #include "cw_util.h"
#include "cw_log.h"
static int process_elem(void *w,int type,uint8_t* msgelem,int len) static int process_elem(void *w,int type,uint8_t* msgelem,int len)
{ {
struct wtpinfo * wtpinfo = (struct wtpinfo*)w; struct wtpinfo * wtpinfo = (struct wtpinfo*)w;
cw_log_debug0("Process join req msgelem, type=%d (%s), len=%d",type,cw_msgelemtostr(type),len);
cw_log_debug1_dump(msgelem,len,"Dump for msgelem ...");
if (wtpinfo_readelem_location_data(wtpinfo,type,msgelem,len)) if (wtpinfo_readelem_location_data(wtpinfo,type,msgelem,len))
return 1; return 1;