aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-03 14:17:38 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-03 14:17:38 +0000
commit9f1cc413bee6dadd206dc4b632d99081fb11dec4 (patch)
tree18ec9e6bffae0d4a85b713c679a5970661fe79d0 /URPM.xs
parent471acb6a76fad7573aa8efde3a1372dfcc78f3b0 (diff)
downloadperl-URPM-9f1cc413bee6dadd206dc4b632d99081fb11dec4.tar
perl-URPM-9f1cc413bee6dadd206dc4b632d99081fb11dec4.tar.gz
perl-URPM-9f1cc413bee6dadd206dc4b632d99081fb11dec4.tar.bz2
perl-URPM-9f1cc413bee6dadd206dc4b632d99081fb11dec4.tar.xz
perl-URPM-9f1cc413bee6dadd206dc4b632d99081fb11dec4.zip
cosmetics
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 813419f..dcd7daa 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2305,9 +2305,8 @@ Pkg_compare_pkg(lpkg, rpkg)
get_fullname_parts(lpkg, NULL, NULL, NULL, NULL, NULL, NULL, &larch, NULL);
else
larch = (char*)get_name(lpkg->h, RPMTAG_ARCH);
- if (rpkg->info) {
+ if (rpkg->info)
get_fullname_parts(rpkg, NULL, NULL, NULL, NULL, NULL, NULL, &rarch, NULL);
- }
else
rarch = (char*)get_name(rpkg->h, RPMTAG_ARCH);