fixed options processing

This commit is contained in:
Дмитрий Левин 2005-10-16 16:52:49 +00:00
parent ff4c7da2bd
commit fd1778bbee

View File

@ -34,7 +34,7 @@ int main(int argc, char ** argv)
while ((h = rpmdbNextIterator(mi)) != NULL) {
blockNum++;
if (!(dspBlockNum != 0 && dspBlockNum != blockNum))
if (dspBlockNum && blockNum != dspBlockNum)
continue;
headerDump(h, stdout, HEADER_DUMP_INLINE, rpmTagTable);