don't let hdrs[] be sparse
authorewt <devnull@localhost>
Sun, 7 Feb 1999 23:14:04 +0000 (23:14 +0000)
committerewt <devnull@localhost>
Sun, 7 Feb 1999 23:14:04 +0000 (23:14 +0000)
CVS patchset: 2786
CVS date: 1999/02/07 23:14:04

lib/transaction.c

index 14ce899..e50bf86 100644 (file)
@@ -146,6 +146,7 @@ int rpmRunTransactions(rpmTransactionSet ts, rpmCallbackFunction notify,
                                     (void *) NULL, &fi->fc)) {
            fi->fc = 0;
            fi->h = alp->h;
+           hdrs[alp - al->list] = headerLink(fi->h);
            continue;
        }