summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/messages.c2
-rw-r--r--rpmio/messages.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/messages.c b/lib/messages.c
index 5c9a0112a..9afbac984 100644
--- a/lib/messages.c
+++ b/lib/messages.c
@@ -15,7 +15,7 @@ void setVerbosity(int level) {
int isVerbose(void)
{
- return (minLevel >= MESS_VERBOSE);
+ return (minLevel <= MESS_VERBOSE);
}
void message(int level, char * format, ...) {
diff --git a/rpmio/messages.c b/rpmio/messages.c
index 5c9a0112a..9afbac984 100644
--- a/rpmio/messages.c
+++ b/rpmio/messages.c
@@ -15,7 +15,7 @@ void setVerbosity(int level) {
int isVerbose(void)
{
- return (minLevel >= MESS_VERBOSE);
+ return (minLevel <= MESS_VERBOSE);
}
void message(int level, char * format, ...) {