Fix typo in pkg_hash_fetch_best_installation_candidate.
authorMichael Hansen <michael.j.hansen@hp.com>
Wed, 14 Sep 2016 20:42:26 +0000 (13:42 -0700)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 01:21:30 +0000 (02:21 +0100)
commit816d3304f7e6ff4fd6e4e6bceb0e9bbefc67032f
tree83bfd98461c960a275e58af17b49bde8a1a16bc6
parent07f3b022c1cf6bcafe87f083ef2482eb7a8ec701
Fix typo in pkg_hash_fetch_best_installation_candidate.

A (presumed) typo in pkg_hash_fetch_best_installation_candidate caused the
matching_pkgs vec to be sorted twice, instead of sorting matching_apkgs.
This fixes both the call and the API to match what appears to be intended.

Signed-off-by: Michael Hansen <michael.j.hansen@hp.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
libopkg/pkg_hash.c
libopkg/pkg_vec.c
libopkg/pkg_vec.h