* 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:
Olof hagsand 2020-06-18 11:28:47 +02:00
parent fade9dcfd5
commit ee29452d24
11 changed files with 37 additions and 767 deletions

View file

@ -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){