Reformat code with consistent style

This commit is contained in:
dogeystamp 2021-08-06 14:32:04 -04:00
parent 7637e6f609
commit 9719fbf303
No known key found for this signature in database
GPG Key ID: 4B11A996ADE99001
6 changed files with 142 additions and 143 deletions

3
xml.c
View File

@ -129,8 +129,7 @@ parseXml(xmlDocPtr doc,
strcat(item->categories, " "); strcat(item->categories, " ");
strcat(item->categories, itemKey); strcat(item->categories, itemKey);
} } else {
else {
item->categories = ecalloc( item->categories = ecalloc(
strlen(itemKey) + 2, strlen(itemKey) + 2,
sizeof(char)); sizeof(char));