From 6cd7fc9b157f8710b8c5f017e15146317f6201a3 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 9 Feb 2006 13:25:05 +0000 Subject: Fix repackage option, oops --- URPM.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'URPM.xs') diff --git a/URPM.xs b/URPM.xs index 3ae2213..48181a8 100644 --- a/URPM.xs +++ b/URPM.xs @@ -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)) { -- cgit v1.2.1