* 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
|
|
@ -648,7 +648,7 @@ clixon_xml_parse_file(int fd,
|
|||
failed++;
|
||||
break;
|
||||
}
|
||||
if (len>=xmlbuflen-1){ /* Space: one for the null character */
|
||||
if (len >= xmlbuflen-1){ /* Space: one for the null character */
|
||||
oldxmlbuflen = xmlbuflen;
|
||||
xmlbuflen *= 2;
|
||||
if ((xmlbuf = realloc(xmlbuf, xmlbuflen)) == NULL){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue