Use UCL_COUNT to return the number of elements of an ucl_object as it return 0 if the object is NULL
modified libpkg/pkg_object.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -106,5 +107,5 @@ pkg_object_int(pkg_object *o)
|
|
|
|
|
|
| - | |
| + | |
|