diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-30 17:48:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-30 17:48:13 +0000 |
commit | b0f66a8a6fba582705b31392d9a31b9995afae87 (patch) | |
tree | a35e50c53c6614fb2d7d93ac436c5b241ae34905 | |
parent | cde71ead2edefc28dfa7d649f942a1aa2b36038c (diff) | |
download | perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar.gz perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar.bz2 perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.tar.xz perl-URPM-b0f66a8a6fba582705b31392d9a31b9995afae87.zip |
style
-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 |