Changeset 45652 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 19, 2013 6:16:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tftp.c
r43876 r45652 434 434 if (RT_FAILURE(rc)) 435 435 { 436 LogFlowFuncLeave ();436 LogFlowFuncLeaveRC(rc); 437 437 return rc; 438 438 } … … 442 442 if (RT_FAILURE(rc)) 443 443 { 444 LogFlowFuncLeave ();444 LogFlowFuncLeaveRC(rc); 445 445 return rc; 446 446 } … … 448 448 if (pTftpSession->OptionTSize.fRequested) 449 449 { 450 pTftpSession->OptionTSize.u64Value = cbSessionFile;450 pTftpSession->OptionTSize.u64Value = cbSessionFile; 451 451 } 452 452 if ( !pTftpSession->OptionBlkSize.u64Value … … 570 570 if (RT_FAILURE(rc)) 571 571 { 572 tftpSendError(pData, pTftpSession, 2, " Internal Error (blksize evaluation)", pcTftpIpHeaderRecv);572 tftpSendError(pData, pTftpSession, 2, "Option negotiation failure (file not found or inaccessible?)", pcTftpIpHeaderRecv); 573 573 LogFlowFuncLeave(); 574 574 return -1; … … 578 578 if (!m) 579 579 return -1; 580 581 582 580 583 581 m->m_data += if_maxlinkhdr; … … 757 755 return; 758 756 759 AssertReturnVoid(tftpSendData(pData, 760 pTftpSession, 761 RT_N2H_U16(pTftpIpHeader->Core.u16TftpOpCode), pTftpIpHeader) == 0); 757 if (tftpSendData(pData, pTftpSession, 758 RT_N2H_U16(pTftpIpHeader->Core.u16TftpOpCode), 759 pTftpIpHeader)) 760 LogRel(("NAT TFTP: failure\n")); 762 761 } 763 762
Note:
See TracChangeset
for help on using the changeset viewer.