Fixed https://github.com/clicon/clixon/issues/46 Issue with empty values in leaf-list

Thanks achernavin22
This commit is contained in:
Olof hagsand 2018-10-27 17:06:08 +02:00
parent b477e22d1e
commit 61869c8d44
5 changed files with 33 additions and 12 deletions

View file

@ -99,7 +99,7 @@ restconf_stream_cb(int s,
struct clicon_msg *reply = NULL;
cxobj *xtop = NULL; /* top xml */
cxobj *xn; /* notification xml */
cbuf *cb;
cbuf *cb = NULL;
int pretty = 0; /* XXX should be via arg */
clicon_debug(1, "%s", __FUNCTION__);