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

@ -128,7 +128,7 @@ hex [A-Fa-f0-9]
BEGIN(STRING);
if (clixon_unicode2utf8(yytext, buf, 5) < 0)
return -1;
strncpy(yytext, buf, 4);
strncpy(yytext, buf, 5);
clixon_json_parselval.string = yytext;
return J_STRING;
}