aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-30 17:48:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-30 17:48:13 +0000
commitb0f66a8a6fba582705b31392d9a31b9995afae87 (patch)
treea35e50c53c6614fb2d7d93ac436c5b241ae34905 /URPM.xs
parentcde71ead2edefc28dfa7d649f942a1aa2b36038c (diff)
downloadperl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar
perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar.gz
perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar.bz2
perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar.xz
perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.zip
style
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs9
1 files changed, 3 insertions, 6 deletions
diff --git a/URPM.xs b/URPM.xs
index 15550b7..0167d11 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1547,9 +1547,8 @@ void
Pkg_description(pkg)
URPM::Package pkg
PPCODE:
- if (pkg->h) {
+ if (pkg->h)
mXPUSHs(newSVpv_utf8(get_name(pkg->h, RPMTAG_DESCRIPTION), 0));
- }
void
Pkg_sourcerpm(pkg)
@@ -1563,9 +1562,8 @@ void
Pkg_packager(pkg)
URPM::Package pkg
PPCODE:
- if (pkg->h) {
+ if (pkg->h)
mXPUSHs(newSVpv_utf8(get_name(pkg->h, RPMTAG_PACKAGER), 0));
- }
void
Pkg_buildhost(pkg)
@@ -2343,9 +2341,8 @@ Pkg_queryformat(pkg, fmt)
PPCODE:
if (pkg->h) {
s = headerFormat(pkg->h, fmt, NULL);
- if (s) {
+ if (s)
mXPUSHs(newSVpv_utf8(s,0));
- }
}
void