xbps_search_string_in_pkgs(): pass "arg" directly.
--HG-- extra : convert_revision : d1345ddf585304ec1617386b91aa827209362442
This commit is contained in:
parent
4a88e000e6
commit
bd317f17ee
1 changed files with 2 additions and 2 deletions
|
@ -459,7 +459,7 @@ bool
|
|||
xbps_search_string_in_pkgs(prop_object_t obj, void *arg, bool *loop_done)
|
||||
{
|
||||
prop_dictionary_t dict;
|
||||
const char *repofile, *plist, *pkgstring = arg;
|
||||
const char *repofile, *plist;
|
||||
|
||||
assert(prop_object_type(obj) == PROP_TYPE_STRING);
|
||||
assert(pkgstring != NULL);
|
||||
|
@ -479,7 +479,7 @@ xbps_search_string_in_pkgs(prop_object_t obj, void *arg, bool *loop_done)
|
|||
|
||||
printf("From %s repository ...\n", repofile);
|
||||
xbps_callback_array_iter_in_dict(dict, "packages",
|
||||
xbps_show_pkg_namedesc, (void *)pkgstring);
|
||||
xbps_show_pkg_namedesc, arg);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue