From bb897da7b4f7847843cc589343ae9075d203ff5f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 30 Jan 2011 00:14:29 +0100 Subject: [PATCH] Fix an assertion. --- lib/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plist.c b/lib/plist.c index fec50466..e3167e3b 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -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)