added dump suffix

FossilOrigin-Name: 894e6305f65760e1e93fc575b96a45a487bdd253ef0f67f0ad2645f262d204ca
This commit is contained in:
tobias.herre@wikimedia.de
2018-03-07 12:13:58 +00:00
parent accc0929cd
commit 06e50e8318
6 changed files with 42 additions and 10 deletions

View File

@ -387,12 +387,17 @@ void cw_dbg_elem_colored(int level, struct conn *conn, int msg, int msgelem,
const char *elemname;
char vendorname[256];
char vendor_details[265];
struct cw_ElemHandler * handler;
if (!cw_dbg_is_level(level))
return;
*vendor_details = 0;
handler = cw_msgset_get_elemhandler(conn->msgset,0,0,msgelem);
if (!handler)
return;
/*
/// TODO XXXX
@ -411,7 +416,7 @@ void cw_dbg_elem_colored(int level, struct conn *conn, int msg, int msgelem,
/*
// elemname = cw_strelemp(conn->actions, msgelem);
*/
elemname=0;
elemname=handler->name;
}