fixed bug

CVS patchset: 432
CVS date: 1996/02/27 17:40:59
This commit is contained in:
ewt 1996-02-27 17:40:59 +00:00
parent a6ad7dbfd3
commit 6bada7decf
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ int pkgReadHeader(int fd, Header * hdr, int * isSource) {
if (lead.major == 1) {
readOldHeader(fd, hdr, isSource);
arch = getArchNum();
addEntry(hdr, RPMTAG_ARCH, INT8_TYPE, &arch, 1);
addEntry(*hdr, RPMTAG_ARCH, INT8_TYPE, &arch, 1);
} else if (lead.major == 2) {
if (!readSignature(fd, lead.signature_type, NULL)) {
return 2;