Commit 1a24ed7e authored by Ludovic Ferrandis's avatar Ludovic Ferrandis Committed by Jens Georg

Fix gupnp_didl_lite_container_get_total_deleted_child_count

0 is a valid value for the property upnp:totalDeletedChildCount.
Return -1 instead of 0 when the property is not found.

Same behavior as res@updateCount.

https://bugzilla.gnome.org/show_bug.cgi?id=696837
parent 3e820dcd
......@@ -367,7 +367,7 @@ gupnp_didl_lite_container_get_total_deleted_child_count
return xml_util_get_uint_child_element (xml_node,
"totalDeletedChildCount",
0);
-1);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment