mirror of
https://github.com/zoriya/xmlParser.git
synced 2025-12-06 02:56:10 +00:00
Fixing a bug with the get child count
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user