aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
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