diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 |