Compile errors for woth-restconf=fcgi. Added CI for compiling fcgi

This commit is contained in:
Olof hagsand 2023-09-26 22:50:06 +02:00
parent 2b6bd4fb5c
commit 512d085f38
5 changed files with 27 additions and 5 deletions

View file

@ -182,7 +182,6 @@ xpath_append(cbuf *cb0,
* [<mt-point>] Optional YANG path-arg/xpath from mount-point
* @param[out] commands vector of function pointers to callback functions
* @param[out] helptxt vector of pointers to helptexts
* @see cli_expand_var_generate This is where arg is generated
* @see cli_expand_var_generate where api_path_fmt + mt-point are generated
*/
int
@ -407,7 +406,7 @@ expand_dbvar(void *h,
}
ok:
retval = 0;
done:
done:
if (nsc0)
cvec_free(nsc0);
if (api_path_fmt_cb)

View file

@ -314,7 +314,7 @@ main(int argc,
char *wwwuser;
char *inline_config = NULL;
size_t sz;
int config_dump;
int config_dump = 0;
enum format_enum config_dump_format = FORMAT_XML;
/* In the startup, logs to stderr & debug flag set later */

View file

@ -213,7 +213,7 @@ restconf_stream_cb(int s,
clicon_debug(1, "%s", __FUNCTION__);
/* get msg (this is the reason this function is called) */
if (clicon_msg_rcv(s, 0, &reply, &eof) < 0){
if (clicon_msg_rcv(s, NULL, 0, &reply, &eof) < 0){
clicon_debug(1, "%s msg_rcv error", __FUNCTION__);
goto done;
}