From 250916fa6aac87560f1ab589dfa806bc0da36af7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 8 Oct 2013 10:39:20 +0200 Subject: [PATCH] xbps-query: use the _multi version to find out largest pkgver string. --- bin/xbps-query/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-query/list.c b/bin/xbps-query/list.c index 28e08665..ad83cddf 100644 --- a/bin/xbps-query/list.c +++ b/bin/xbps-query/list.c @@ -218,7 +218,7 @@ find_longest_pkgver(struct xbps_handle *xhp, xbps_object_t o) xbps_array_t array; array = xbps_dictionary_all_keys(o); - (void)xbps_array_foreach_cb(xhp, array, o, + (void)xbps_array_foreach_cb_multi(xhp, array, o, _find_longest_pkgver_cb, &ffl); xbps_object_release(array); } else {