Better messages
FossilOrigin-Name: fec91f1c797aafab95d6ff030aa4659f8d91830fa694d5543515c8c98046b4c5
This commit is contained in:
parent
3fe12f1a5d
commit
7832ca1336
@ -86,10 +86,10 @@ int cw_put_msg(struct conn *conn, uint8_t * rawout)
|
||||
params.elem=NULL;
|
||||
|
||||
l = handler->put(handler,¶ms,dst+len);
|
||||
len += l;
|
||||
|
||||
|
||||
if(l>0)
|
||||
cw_dbg_elem(DBG_ELEM_OUT,conn,type,handler,¶ms,dst+len,l);
|
||||
len += l;
|
||||
}
|
||||
|
||||
cw_set_msg_elems_len(msgptr, len);
|
||||
|
@ -21,7 +21,7 @@ static int write_boarddata_subelem(uint8_t * dst, mavl_t ktv, const char * paren
|
||||
|
||||
if (val == NULL) {
|
||||
cw_log(LOG_ERR,
|
||||
"Error: Can't set sub-element %d from key %s in WTP Board Data. Key not found",type,key);
|
||||
"Creating WTP Board Data sub-element %d. Key not '%s' found",type,key);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ int capwap_out_wtp_board_data(struct cw_ElemHandler * eh,
|
||||
|
||||
if (val ==NULL) {
|
||||
cw_log(LOG_ERR,
|
||||
"Error: Can't send WTP Board Data element - %s not defined.", key);
|
||||
"Creating WTP Board Data element. Key '%s' not found.", key);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user