Changeset 41995 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 3, 2012 10:20:10 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tftp.c
r41994 r41995 461 461 cBlockSessionFile = ASMDivU64ByU32RetU32(cbSessionFile, pTftpSession->u16BlkSize); 462 462 while ( cBlockSessionFile >= UINT16_MAX 463 && idxRFC2348TftpSessionBlkSize < =RT_ELEMENTS(g_au16RFC2348TftpSessionBlkSize))463 && idxRFC2348TftpSessionBlkSize < RT_ELEMENTS(g_au16RFC2348TftpSessionBlkSize)) 464 464 { 465 465 if (pTftpSession->u16BlkSize > g_au16RFC2348TftpSessionBlkSize[idxRFC2348TftpSessionBlkSize]) … … 472 472 idxRFC2348TftpSessionBlkSize++; 473 473 /* No bigger values in RFC2348 */ 474 AssertReturn(idxRFC2348TftpSessionBlkSize < =RT_ELEMENTS(g_au16RFC2348TftpSessionBlkSize), VERR_INTERNAL_ERROR);474 AssertReturn(idxRFC2348TftpSessionBlkSize < RT_ELEMENTS(g_au16RFC2348TftpSessionBlkSize), VERR_INTERNAL_ERROR); 475 475 if (g_au16RFC2348TftpSessionBlkSize[idxRFC2348TftpSessionBlkSize] >= if_maxlinkhdr) 476 476 {
Note:
See TracChangeset
for help on using the changeset viewer.