// tell the Mtftp4WrqInput to finish the transfer. This is the last\r
// block number if the block range are empty..\r
//\r
- Mtftp4RemoveBlockNum (&Instance->Blocks, AckNum, &TotalBlock);\r
+ Mtftp4RemoveBlockNum (&Instance->Blocks, AckNum, *Completed,&TotalBlock);\r
\r
Expected = Mtftp4GetNextBlockNum (&Instance->Blocks);\r
\r