local restconf rpc callback sent error and then main restconf handler sent ok. Callback should just return xml buffer, not do actual restconf callback

This commit is contained in:
Olof Hagsand 2018-04-15 10:52:52 +01:00
parent 24de61f14a
commit b2abab71f0
3 changed files with 18 additions and 5 deletions

View file

@ -385,7 +385,7 @@ get_user_cookie(char *cookiestr,
return retval;
}
/*! Return error on get/head request
/*! Return restconf error on get/head request
* @param[in] h Clixon handle
* @param[in] r Fastcgi request handle
* @param[in] xerr XML error message from backend