diff options
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r-- | lib/rpmfi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c index f9e3a1daf..686ebcd84 100644 --- a/lib/rpmfi.c +++ b/lib/rpmfi.c @@ -1026,6 +1026,7 @@ rpmfi rpmfiNew(rpmts ts, rpmfi fi, /* 0 means unknown */ xx = hge(h, RPMTAG_ARCHIVESIZE, NULL, (void **) &uip, NULL); + fi->archivePos = 0; fi->archiveSize = (xx ? *uip : 0); if (!hge(h, RPMTAG_BASENAMES, NULL, (void **) &fi->bnl, &fi->fc)) { |