CodeStyle

This commit is contained in:
Consolatis 2022-01-09 05:48:27 +01:00 committed by Johan Malm
parent e0264e471c
commit d9cef42721
5 changed files with 16 additions and 8 deletions

View file

@ -22,8 +22,9 @@ nodename(xmlNode *node, char *buf, int len)
char c;
while ((c = *name++) != 0) {
*p++ = tolower(c);
if (!--len)
if (!--len) {
return buf;
}
}
*p = 0;
node = node->parent;