[Rpm-maint] [rpm-software-management/rpm] legacy.c: Fix headerGetEntry count (#399)
Alexey Tourbin
notifications at github.com
Fri Feb 23 20:37:58 UTC 2018
The following code used to work with rpm-4.0.
```c
static int getFileCount(Header h)
{
int count;
int ret = headerGetEntry(h, RPMTAG_BASENAMES, NULL, NULL, &count);
return ret == 1 ? count : 0;
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/399#issuecomment-368131793
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180223/23a0e899/attachment.html>
More information about the Rpm-maint
mailing list