Changeset 68918 in vbox for trunk/src/VBox/Runtime/common/checksum/manifest2.cpp
- Timestamp:
- Sep 28, 2017 4:30:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/checksum/manifest2.cpp
r68496 r68918 554 554 if (!pEntry2) 555 555 { 556 RTStrPrintf(pEquals->pszError, pEquals->cbError, "'%s' not found in the 2nd manifest", pEntry1->StrCore.pszString); 557 return VERR_NOT_EQUAL; 556 if (!(pEquals->fFlags & RTMANIFEST_EQUALS_IGN_MISSING_ENTRIES_2ND)) 557 { 558 RTStrPrintf(pEquals->pszError, pEquals->cbError, "'%s' not found in the 2nd manifest", pEntry1->StrCore.pszString); 559 return VERR_NOT_EQUAL; 560 } 561 pEntry1->fVisited = true; 562 return VINF_SUCCESS; 558 563 } 559 564 … … 590 595 AssertReturn(pThis2->u32Magic == RTMANIFEST_MAGIC, VERR_INVALID_HANDLE); 591 596 } 592 AssertReturn(!(fFlags & ~ (RTMANIFEST_EQUALS_IGN_MISSING_ATTRS)), VERR_INVALID_PARAMETER);597 AssertReturn(!(fFlags & ~RTMANIFEST_EQUALS_VALID_MASK), VERR_INVALID_PARAMETER); 593 598 594 599 /*
Note:
See TracChangeset
for help on using the changeset viewer.