Formatting
This commit is contained in:
parent
37e9429ec8
commit
7a842846db
4 changed files with 2 additions and 5 deletions
|
|
@ -976,7 +976,6 @@ main_yang_mount(clixon_handle h,
|
||||||
if (xml_rootchild(*yanglib, 0, yanglib) < 0)
|
if (xml_rootchild(*yanglib, 0, yanglib) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
retval = 0;
|
retval = 0;
|
||||||
done:
|
done:
|
||||||
if (cb)
|
if (cb)
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,6 @@ example_cli_yang_mount(clixon_handle h,
|
||||||
if (xml_rootchild(*yanglib, 0, yanglib) < 0)
|
if (xml_rootchild(*yanglib, 0, yanglib) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
retval = 0;
|
retval = 0;
|
||||||
done:
|
done:
|
||||||
if (cb)
|
if (cb)
|
||||||
|
|
@ -423,4 +422,3 @@ clixon_plugin_init(clixon_handle h)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif /* CLIXON_STATIC_PLUGINS */
|
#endif /* CLIXON_STATIC_PLUGINS */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ typedef enum clixon_auth_type clixon_auth_type_t;
|
||||||
|
|
||||||
/*! Common plugin function names, function types and signatures.
|
/*! Common plugin function names, function types and signatures.
|
||||||
*
|
*
|
||||||
* This plugin code is exytended by backend, cli, netconf, restconf plugins
|
* This plugin code is extended by backend, cli, netconf, restconf plugins
|
||||||
* Cli see cli_plugin.c
|
* Cli see cli_plugin.c
|
||||||
* Backend see config_plugin.c
|
* Backend see config_plugin.c
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -354,7 +354,7 @@ yang_modules_state_get(clixon_handle h,
|
||||||
}
|
}
|
||||||
else { /* No cache -> build the tree */
|
else { /* No cache -> build the tree */
|
||||||
if ((cb = cbuf_new()) == NULL){
|
if ((cb = cbuf_new()) == NULL){
|
||||||
clixon_err(OE_UNIX, 0, "clicon buffer");
|
clixon_err(OE_UNIX, 0, "cligen buffer");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
/* Build a cb string: <modules-state>... */
|
/* Build a cb string: <modules-state>... */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue