Changeset 21749 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jul 21, 2009 1:06:29 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime/common/checksum
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/checksum/manifest.cpp
r21748 r21749 259 259 int cbRet = RTStrmPrintf(pStream, "SHA1 (%s)= %s\n", RTPathFilename(papszFiles[i]), pszDigest); 260 260 RTStrFree(pszDigest); 261 if ( cbRet < 0)261 if (RT_UNLIKELY(cbRet < 0)) 262 262 { 263 263 rc = VERR_INTERNAL_ERROR; -
trunk/src/VBox/Runtime/common/checksum/sha1.cpp
r21748 r21749 94 94 pucDig[10], pucDig[11], pucDig[12], pucDig[13], pucDig[14], 95 95 pucDig[15], pucDig[16], pucDig[17], pucDig[18], pucDig[19]); 96 if ( cbRet == -1)96 if (RT_UNLIKELY(cbRet == -1)) 97 97 rc = VERR_INTERNAL_ERROR; 98 98
Note:
See TracChangeset
for help on using the changeset viewer.