Better messages

FossilOrigin-Name: fec91f1c797aafab95d6ff030aa4659f8d91830fa694d5543515c8c98046b4c5
This commit is contained in:
7u83@mail.ru 2018-03-19 12:29:49 +00:00
parent 3fe12f1a5d
commit 7832ca1336
2 changed files with 4 additions and 4 deletions

View File

@ -86,10 +86,10 @@ int cw_put_msg(struct conn *conn, uint8_t * rawout)
params.elem=NULL;
l = handler->put(handler,&params,dst+len);
len += l;
if(l>0)
cw_dbg_elem(DBG_ELEM_OUT,conn,type,handler,&params,dst+len,l);
len += l;
}
cw_set_msg_elems_len(msgptr, len);

View File

@ -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;
}