Debug -D msg: dont show length in detailed debug
This commit is contained in:
parent
0193186272
commit
030dd89b83
3 changed files with 33 additions and 16 deletions
|
|
@ -2203,8 +2203,10 @@ netconf_output(int s,
|
|||
char *buf = cbuf_get(cb);
|
||||
int len = cbuf_len(cb);
|
||||
|
||||
clixon_debug(CLIXON_DBG_MSG, "Send ext len: %lu", cbuf_len(cb));
|
||||
clixon_debug(CLIXON_DBG_MSG | CLIXON_DBG_DETAIL, "Send ext: %s", cbuf_get(cb));
|
||||
if (clixon_debug_isset(CLIXON_DBG_DETAIL))
|
||||
clixon_debug(CLIXON_DBG_MSG | CLIXON_DBG_DETAIL, "Send ext: %s", cbuf_get(cb));
|
||||
else
|
||||
clixon_debug(CLIXON_DBG_MSG, "Send ext len: %lu", cbuf_len(cb));
|
||||
#if 0 // Extra sanity check for debugging
|
||||
{
|
||||
cxobj *xt = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue