Dont bother generation rpmds debug messages unless in debug mode
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 7 May 2009 11:31:57 +0000 (14:31 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 8 May 2009 12:29:07 +0000 (15:29 +0300)
commit5553a544822bb406e813e44989e2e7c37ab09146
treed931958295ed8633332b343a97d3aaed1f095927
parentaab929d5c07f6bb7264a858b6c3949b73b78ba19
Dont bother generation rpmds debug messages unless in debug mode
- rpmdsNotify() which does nothing but generate RPMLOG_DEBUG messages
  gets called often enough that avoiding the unnecessary
  rpmlog() and strcmp() calls is easily visible in wallclock times
(cherry picked from commit acd93ee570990ba3f549947dfe67a7d362f7c70d)
lib/rpmds.c