code cleanup and doc
This commit is contained in:
parent
82351afde3
commit
20a677cb6c
6 changed files with 41 additions and 6 deletions
|
|
@ -1202,7 +1202,7 @@ from_client_msg(clicon_handle h,
|
|||
}
|
||||
reply:
|
||||
if (cbuf_len(cbret) == 0)
|
||||
if (netconf_operation_failed(cbret, "application", clicon_err_reason)< 0)
|
||||
if (netconf_operation_failed(cbret, "application", clicon_errno?clicon_err_reason:"unknown")< 0)
|
||||
goto done;
|
||||
clicon_debug(1, "%s cbret:%s", __FUNCTION__, cbuf_get(cbret));
|
||||
/* XXX problem here is that cbret has not been parsed so may contain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue