diff options
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2928,7 +2928,7 @@ Trans_run(trans, data, ...) int translate_message = 0; int i; PPCODE: - for (i = 2; i < items-1; i+=2) { + for (i = 2 ; i < items - 1 ; i += 2) { STRLEN len; char *s = SvPV(ST(i), len); @@ -2955,7 +2955,7 @@ Trans_run(trans, data, ...) } else if (len == 10 && !memcmp(s, "oldpackage", 10)) { if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_OLDPACKAGE; } else if (len == 9 && !memcmp(s, "repackage", 9)) { - if (SvIV(ST(i+1))) probFilter |= RPMTRANS_FLAG_REPACKAGE; + if (SvIV(ST(i+1))) transFlags |= RPMTRANS_FLAG_REPACKAGE; } else if (len == 17 && !memcmp(s, "translate_message", 17)) translate_message = 1; else if (len >= 9 && !memcmp(s, "callback_", 9)) { |