Fixed Debug -D msg: dont show length in detailed debug
This commit is contained in:
parent
4c57edfc57
commit
be5a7c418a
5 changed files with 25 additions and 16 deletions
|
|
@ -739,7 +739,7 @@ from_client_edit_config(clixon_handle h,
|
|||
}
|
||||
/* Clixon extension: copy */
|
||||
if ((attr = xml_find_value(xn, "copystartup")) != NULL &&
|
||||
strcmp(attr,"true") == 0){
|
||||
strcmp(attr, "true") == 0){
|
||||
if (xmldb_copy(h, "running", "startup") < 0){
|
||||
if (netconf_operation_failed(cbret, "application", clixon_err_reason())< 0)
|
||||
goto done;
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ netconf_input_cb(int s,
|
|||
cbmsg = NULL;
|
||||
break;
|
||||
}
|
||||
if (clixon_debug_isset(CLIXON_DBG_DETAIL))
|
||||
if (clixon_debug_detail())
|
||||
clixon_debug(CLIXON_DBG_MSG | CLIXON_DBG_DETAIL, "Recv ext: %s", cbuf_get(cbmsg));
|
||||
else
|
||||
clixon_debug(CLIXON_DBG_MSG, "Recv ext len: %lu", cbuf_len(cbmsg));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue