aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 01326e8..a791c7e 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -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);
}