lib/plist.c: fix an assertion.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125011444-xzvixcod832ione4
This commit is contained in:
Juan RP 2010-01-25 02:14:44 +01:00
parent 5e367deffe
commit 0ebff2c636

View File

@ -230,7 +230,7 @@ xbps_find_pkg_in_dict_by_pattern(prop_dictionary_t dict,
assert(dict != NULL); assert(dict != NULL);
assert(key != NULL); assert(key != NULL);
assert(pkgmatch != NULL); assert(pattern != NULL);
if ((iter = xbps_get_array_iter_from_dict(dict, key)) == NULL) if ((iter = xbps_get_array_iter_from_dict(dict, key)) == NULL)
return NULL; return NULL;