diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-11-01 14:50:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-11-01 14:50:11 +0000 |
commit | b2c6da11f402dfa9536be91fc360a4b57daf3cd9 (patch) | |
tree | 2d59b7087f9cdba8d00d6475b2947d56e8be2b0e | |
parent | ef18966f6a51d0336e0a75b13354516be5a17d5b (diff) | |
download | perl-URPM-b2c6da11f402dfa9536be91fc360a4b57daf3cd9.tar perl-URPM-b2c6da11f402dfa9536be91fc360a4b57daf3cd9.tar.gz perl-URPM-b2c6da11f402dfa9536be91fc360a4b57daf3cd9.tar.bz2 perl-URPM-b2c6da11f402dfa9536be91fc360a4b57daf3cd9.tar.xz perl-URPM-b2c6da11f402dfa9536be91fc360a4b57daf3cd9.zip |
(Trans_traverse) style after previous commit (2/2)
-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); |