rendered paste bodyIndex: pkg_hash.c===================================================================RCS file: /cvs/familiar/dist/ipkg/C/pkg_hash.c,vretrieving revision 1.71diff -u -r1.71 pkg_hash.c--- pkg_hash.c 29 Jul 2005 20:19:39 -0000 1.71+++ pkg_hash.c 2 Sep 2005 12:58:09 -0000@@ -216,7 +216,8 @@ pkg_t *maybe = vec->pkgs[i]; ipkg_message(conf, IPKG_DEBUG, " %s arch=%s arch_priority=%d \n", maybe->name, maybe->architecture, maybe->arch_priority);- if (maybe->arch_priority > 0) {+ if ((maybe->arch_priority > 0)+ && ((constraint_fcn == NULL) || constraint_fcn(maybe, cdata))) { max_count++; abstract_pkg_vec_insert(matching_apkgs, maybe->parent); pkg_vec_insert(matching_pkgs, maybe);