mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-30 18:51:11 +00:00
update src/common/transfer.cpp.
Signed-off-by: liupeng298 <liupeng298@huawei.com>
This commit is contained in:
parent
4994983376
commit
b75fd79a07
@ -203,7 +203,7 @@ void HdcTransferBase::Next(HdcTransferBase *thisClass, CtxFile *context)
|
||||
{
|
||||
if (context->isDir) {
|
||||
uint8_t payload = 1;
|
||||
uint16_t cmdFinish = (cmdBegin == CMD_FILE_BEGIN ? CMD_FILE_FINISH : CMD_APP_FINISH);
|
||||
uint16_t cmdFinish = (thisClass->cmdBegin == CMD_FILE_BEGIN ? CMD_FILE_FINISH : CMD_APP_FINISH);
|
||||
thisClass->CommandDispatch(cmdFinish, &payload, 1);
|
||||
} else {
|
||||
thisClass->TransferSummary(context);
|
||||
|
Loading…
Reference in New Issue
Block a user