* New clixon-config@2020-06-17.yang revision
* Added CLICON_CLI_LINES_DEFAULT for setting window row size of raw terminals * Added enum HIDE to CLICON_CLI_GENMODEL for auto-cli
This commit is contained in:
parent
fade9dcfd5
commit
ee29452d24
11 changed files with 37 additions and 767 deletions
|
|
@ -1429,7 +1429,7 @@ clixon_json_parse_file(int fd,
|
|||
}
|
||||
break;
|
||||
}
|
||||
if (len>=jsonbuflen-1){ /* Space: one for the null character */
|
||||
if (len >= jsonbuflen-1){ /* Space: one for the null character */
|
||||
oldjsonbuflen = jsonbuflen;
|
||||
jsonbuflen *= 2;
|
||||
if ((jsonbuf = realloc(jsonbuf, jsonbuflen)) == NULL){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue