src/rpmfunctions.c: replace usage of heraderLoad() removed since rpm 4.19

This commit is contained in:
Silvan Calarco 2024-05-16 10:38:41 +02:00
parent d820b6787f
commit b357f9c075

View File

@ -107,7 +107,7 @@ getHeader(rpmts* ts, char *headerFile, Header * h)
return 2;
}
*h = headerLoad(buffer);
*h = headerImport(buffer, sizeof(Header), 0);
} else {
FD_t fd;