fixed code so -qvv actually works
CVS patchset: 1439 CVS date: 1997/02/17 23:45:40
This commit is contained in:
parent
d0f53bd36d
commit
9b17af5137
2
query.c
2
query.c
|
@ -388,6 +388,7 @@ static void printHeader(Header h, int queryFlags, char * queryFormat) {
|
|||
if (!headerGetEntry(h, RPMTAG_FILEUIDS, &type,
|
||||
(void **) &fileUIDList, &count)) {
|
||||
fileUIDList = NULL;
|
||||
} else {
|
||||
headerGetEntry(h, RPMTAG_FILEGIDS, &type,
|
||||
(void **) &fileGIDList, &count);
|
||||
}
|
||||
|
@ -395,6 +396,7 @@ static void printHeader(Header h, int queryFlags, char * queryFormat) {
|
|||
if (!headerGetEntry(h, RPMTAG_FILEUSERNAME, &type,
|
||||
(void **) &fileOwnerList, &count)) {
|
||||
fileOwnerList = NULL;
|
||||
} else {
|
||||
headerGetEntry(h, RPMTAG_FILEGROUPNAME, &type,
|
||||
(void **) &fileGroupList, &count);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue