Work on ansi and clean Makefiles
FossilOrigin-Name: 0805f78d34219a2aac597a313081ce869c389e6b5d471c65c7f43d0906c0a400
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
|
||||
#include "cw_util.h"
|
||||
#include "log.h"
|
||||
#include "dbg.h"
|
||||
|
||||
/**
|
||||
* Reads the LWAPP message element WTP Name
|
||||
@ -42,7 +43,7 @@ int lw_readelem_wtp_name(uint8_t ** dst, int type, uint8_t * msgelem, int len)
|
||||
|
||||
|
||||
if (len>254){
|
||||
cw_dbg(DBG_MSG_ERR,"Truncating WTP_NAME msgelem to 254, wrong size, type=%d,len=%d",type,len);
|
||||
cw_dbg(DBG_ELEM_ERR,"Truncating WTP_NAME msgelem to 254, wrong size, type=%d,len=%d",type,len);
|
||||
len=254;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user