Fixing a bug with the get child count

This commit is contained in:
Anonymus Raccoon
2020-04-17 22:08:06 +02:00
parent ad2bcc9a66
commit 828f4170b8

View File

@@ -25,7 +25,7 @@ int xml_getchildcount_filtered(node *n, char *name)
int xml_getchildcount(node *n)
{
int i = 1;
int i = 0;
if (!n || !n->child)
return (0);