More RPMMESS -> RPMLOG verbosity fixes
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 12:01:52 +0000 (15:01 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 12:01:52 +0000 (15:01 +0300)
rpmio/rpmmessages.h

index 0b26d1a..836087b 100644 (file)
@@ -29,11 +29,11 @@ extern "C" {
 #define        rpmDecreaseVerbosity()  \
        ((void)rpmlogSetMask((((int)(rpmlogSetMask(0) & 0xff)) >> 1)))
 #define        rpmIsNormal()           \
-       (rpmlogSetMask(0) >= RPMLOG_MASK( RPMMESS_NORMAL ))
+       (rpmlogSetMask(0) >= RPMLOG_MASK( RPMLOG_NOTICE ))
 #define        rpmIsVerbose()          \
-       (rpmlogSetMask(0) >= RPMLOG_MASK( RPMMESS_VERBOSE ))
+       (rpmlogSetMask(0) >= RPMLOG_MASK( RPMLOG_INFO ))
 #define        rpmIsDebug()            \
-       (rpmlogSetMask(0) >= RPMLOG_MASK( RPMMESS_DEBUG ))
+       (rpmlogSetMask(0) >= RPMLOG_MASK( RPMLOG_DEBUG ))
 
 /* LCL: ??? */
 typedef const void * fnpyKey;