Fix a bind rpc assert on unknown namespace
This commit is contained in:
parent
dc36282874
commit
476f1d84d3
5 changed files with 19 additions and 26 deletions
|
|
@ -293,8 +293,7 @@ clixon_stats_get_db(clicon_handle h,
|
|||
* @param[in] nsc XML Namespace context for xpath
|
||||
* @param[in,out] xret Existing XML tree, merge x into this
|
||||
* @retval 0 OK
|
||||
* @retval -1 Error
|
||||
|
||||
* @retval -1 Error
|
||||
*/
|
||||
int
|
||||
clixon_stats_get(clicon_handle h,
|
||||
|
|
|
|||
|
|
@ -538,7 +538,6 @@ candidate_commit(clicon_handle h,
|
|||
/* 7. Call plugin transaction commit callbacks */
|
||||
if (plugin_transaction_commit(h, td) < 0)
|
||||
goto done;
|
||||
|
||||
|
||||
/* Clear cached trees from default values and marking */
|
||||
if (xmldb_get0_clear(h, td->td_target) < 0)
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ int candidate_commit(clicon_handle h, char *db, cbuf *cbret);
|
|||
int from_client_commit(clicon_handle h, cxobj *xe, cbuf *cbret, void *arg, void *regarg);
|
||||
int from_client_discard_changes(clicon_handle h, cxobj *xe, cbuf *cbret, void *arg, void *regarg);
|
||||
int from_client_cancel_commit(clicon_handle h, cxobj *xe, cbuf *cbret, void *arg, void *regarg);
|
||||
int from_client_validate(clicon_handle h, cxobj *xe, cbuf *cbret, void *arg, void *regarg);
|
||||
int from_client_validate(clicon_handle h, cxobj *xe, cbuf *cbret, void *arg, void *regarg);
|
||||
|
||||
#endif /* _BACKEND_COMMIT_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue