summaryrefslogtreecommitdiffstats
path: root/rpmmodule
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-20 22:43:14 +0000
committerErik Troan <ewt@redhat.com>1999-08-20 22:43:14 +0000
commit34e8d264c414d1af0baca81bc30d935e3782ff14 (patch)
tree7e142861c962fe04412b267f3edffaa3ea951650 /rpmmodule
parent72aaf76ec7eb86db06d57ff8ef48906bd4fdf7f4 (diff)
downloadanaconda-34e8d264c414d1af0baca81bc30d935e3782ff14.tar.gz
anaconda-34e8d264c414d1af0baca81bc30d935e3782ff14.tar.xz
anaconda-34e8d264c414d1af0baca81bc30d935e3782ff14.zip
don't compute header size with magic
Diffstat (limited to 'rpmmodule')
-rw-r--r--rpmmodule/rpmmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c
index e0d07e753..4f831df5a 100644
--- a/rpmmodule/rpmmodule.c
+++ b/rpmmodule/rpmmodule.c
@@ -802,7 +802,7 @@ static PyObject * hdrUnload(hdrObject * s, PyObject * args) {
int len;
PyObject * rc;
- len = headerSizeof(s->h, 1);
+ len = headerSizeof(s->h, 0);
buf = headerUnload(s->h);
rc = PyString_FromStringAndSize(buf, len);