mirror of
https://github.com/zoriya/xmlParser.git
synced 2025-12-06 02:56:10 +00:00
Small changes
This commit is contained in:
@@ -23,7 +23,7 @@ int xml_getintprop(node *n, const char *key)
|
|||||||
{
|
{
|
||||||
char *prop = xml_getproperty(n, key);
|
char *prop = xml_getproperty(n, key);
|
||||||
|
|
||||||
if (!prop)
|
if (!prop || my_strlen(prop) == 0)
|
||||||
return (0);
|
return (0);
|
||||||
return (my_getnbr(prop));
|
return (my_getnbr(prop));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user