diff options
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2597,9 +2597,8 @@ Trans_traverse(trans, callback) CODE: mi = rpmtsInitIterator(trans->ts, RPMDBI_PACKAGES, NULL, 0); while ((h = rpmdbNextIterator(mi))) { - if (SvROK(callback)) { + if (SvROK(callback)) _run_cb_while_traversing(callback, h, G_DISCARD); - } ++c; } rpmdbFreeIterator(mi); |