Fixed empty restconf data segv; error restconf quit; etc

This commit is contained in:
Olof hagsand 2018-01-16 22:25:55 +01:00
parent 4a57b60935
commit cd33380368
7 changed files with 90 additions and 43 deletions

View file

@ -1355,8 +1355,8 @@ xml_parse_file(int fd,
* @param[in] str String containing XML definition.
* @param[in] yspec Yang specification, or NULL
* @param[in,out] xt Pointer to XML parse tree. If empty will be created.
* @retval 0 OK
* @retval -1 Error with clicon_err called
* @retval 0 OK
* @retval -1 Error with clicon_err called. Includes parse error
*
* @code
* cxobj *xt = NULL;