- Fixed: [xml2txt last param not used #204](https://github.com/clicon/clixon/issues/204)

- test: coverage test scripts for CI
This commit is contained in:
Olof hagsand 2021-04-20 10:26:48 +02:00
parent e9b07cebab
commit 1d29d29415
5 changed files with 37 additions and 5 deletions

View file

@ -962,7 +962,7 @@ upgrade_callback_reg_fn(clicon_handle h,
const char *ns,
void *arg)
{
upgrade_callback_t *uc;
upgrade_callback_t *uc = NULL;
plugin_module_struct *ms = plugin_module_struct_get(h);
if (ms == NULL){

View file

@ -208,7 +208,7 @@ xml2txt(FILE *f,
cxobj *x,
int level)
{
return xml2txt_recurse(f, x, fprintf, 0);
return xml2txt_recurse(f, x, fprintf, level);
}
/*! Translate from XML to CLI commands