diff options
author | Erik Troan <ewt@redhat.com> | 1999-08-20 22:43:14 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-08-20 22:43:14 +0000 |
commit | 34e8d264c414d1af0baca81bc30d935e3782ff14 (patch) | |
tree | 7e142861c962fe04412b267f3edffaa3ea951650 /rpmmodule | |
parent | 72aaf76ec7eb86db06d57ff8ef48906bd4fdf7f4 (diff) | |
download | anaconda-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.c | 2 |
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); |