Preserve headerNext() allocation behavior
authorPanu Matilainen <pmatilai@redhat.com>
Sat, 14 Jun 2008 11:43:15 +0000 (14:43 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 16 Jun 2008 07:01:54 +0000 (10:01 +0300)
- commit bca23d19af0a6d7371d18f6fd763e37e03f6e21a accidentally changed
  it to MINMEM which breaks signature checking, lovely...

lib/header.c

index c73e25a..7f5894b 100644 (file)
@@ -1909,7 +1909,7 @@ int headerNext(HeaderIterator hi, rpmtd td)
 
     td->tag = entry->info.tag;
 
-    rc = copyTdEntry(entry, td, HEADERGET_MINMEM);
+    rc = copyTdEntry(entry, td, HEADERGET_DEFAULT);
 
     /* XXX 1 on success */
     return ((rc == 1) ? 1 : 0);