summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/oipkg.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp
index eca5861..1978ad5 100644
--- a/noncore/settings/packagemanager/oipkg.cpp
+++ b/noncore/settings/packagemanager/oipkg.cpp
@@ -45,12 +45,14 @@ const QString IPKG_STATUS_PATH = "usr/lib/ipkg/status"; // Destination status fi
OIpkg *oipkg;
// Ipkg callback functions
-int fsignalIpkgMessage( ipkg_conf_t */*conf*/, message_level_t /*level*/, char *msg )
+int fsignalIpkgMessage( ipkg_conf_t *conf, message_level_t level, char *msg )
{
- oipkg->ipkgMessage( msg );
- return 0;
+ if ( conf && ( conf->verbosity < level ) )
+ return 0;
+ else
+ oipkg->ipkgMessage( msg );
}
char *fIpkgResponse( char */*question*/ )
{