diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-01-20 21:07:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-01-20 21:07:54 +0000 |
commit | f2e10d35bf1f59586f89c4b21852c856687a68ac (patch) | |
tree | 5f8f4a40618ed64fff5c3bae62aa4ad653636618 /URPM.xs | |
parent | 8db371afa188d551f41bf620b9f6814e7c21af1a (diff) | |
download | perl-URPM-f2e10d35bf1f59586f89c4b21852c856687a68ac.tar perl-URPM-f2e10d35bf1f59586f89c4b21852c856687a68ac.tar.gz perl-URPM-f2e10d35bf1f59586f89c4b21852c856687a68ac.tar.bz2 perl-URPM-f2e10d35bf1f59586f89c4b21852c856687a68ac.tar.xz perl-URPM-f2e10d35bf1f59586f89c4b21852c856687a68ac.zip |
(Urpm_stream2header) simplify
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3216,10 +3216,9 @@ Urpm_stream2header(fp) pkg->h = headerRead(fd, HEADER_MAGIC_YES); if (pkg->h) { SV *sv_pkg; - EXTEND(SP, 1); sv_pkg = sv_newmortal(); sv_setref_pv(sv_pkg, "URPM::Package", (void*)pkg); - PUSHs(sv_pkg); + XPUSHs(sv_pkg); } Fclose(fd); } |