Fix an assertion.

This commit is contained in:
Juan RP 2011-01-30 00:14:29 +01:00
parent de034c28f5
commit bb897da7b4

View File

@ -258,7 +258,7 @@ find_pkg_in_array(prop_array_t array, const char *str, bool bypattern)
const char *pkgver, *dpkgn;
assert(array != NULL);
assert(name != NULL);
assert(str != NULL);
iter = prop_array_iterator(array);
if (iter == NULL)