From 9238a38ba9d4f240ffc96a67634bb62a680ac033 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 12 Nov 2009 20:07:00 -0500 Subject: Compare verbosity to a message_level_t. git-svn-id: http://opkg.googlecode.com/svn/trunk@293 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/pkg_hash.c') diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c index a445839..62e6f0a 100644 --- a/libopkg/pkg_hash.c +++ b/libopkg/pkg_hash.c @@ -325,7 +325,7 @@ pkg_t *pkg_hash_fetch_best_installation_candidate(opkg_conf_t *conf, abstract_pk } - if (matching_apkgs->len > 1 && conf->verbosity > 1) { + if (conf->verbosity >= OPKG_NOTICE && matching_apkgs->len > 1) { opkg_message(conf, OPKG_NOTICE, "%s: for apkg=%s, %d matching pkgs\n", __FUNCTION__, apkg->name, matching_pkgs->len); for (i = 0; i < matching_pkgs->len; i++) { -- cgit v0.9.1