diff options
Diffstat (limited to 'rpmtools.xs')
-rw-r--r-- | rpmtools.xs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmtools.xs b/rpmtools.xs index 975ad89..7543e4c 100644 --- a/rpmtools.xs +++ b/rpmtools.xs @@ -552,6 +552,8 @@ _parse_(fileno_or_rpmfile, flag, info, ...) /* continue loop for hdlist */ if (fd_is_hdlist) header=headerRead(fd, HEADER_MAGIC_YES); + else + header=0; } fdClose(fd); } else croak("bad arguments list"); |