mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-27 09:11:24 +00:00
modify file transfer
Signed-off-by: liuwei <liuwei573@huawei.com>
This commit is contained in:
parent
cc4e4641f5
commit
0d2c3dff5f
@ -687,7 +687,7 @@ bool HdcTransferBase::CommandDispatch(const uint16_t command, uint8_t *payload,
|
||||
CtxFile *context = &ctxNow;
|
||||
if (!RecvIOPayload(context, payload, payloadSize)) {
|
||||
WRITE_LOG(LOG_DEBUG, "RecvIOPayload return false. channelId:%u lastErrno:%u result:%d",
|
||||
taskInfo->channelId, ctxNow.lastErrno, ctxNow.fsOpenReq.result);
|
||||
taskInfo->channelId, ctxNow.lastErrno, ctxNow.fsOpenReq.result);
|
||||
uv_fs_close(nullptr, &ctxNow.fsCloseReq, ctxNow.fsOpenReq.result, nullptr);
|
||||
HdcTransferBase *thisClass = (HdcTransferBase *)context->thisClass;
|
||||
thisClass->CommandDispatch(CMD_FILE_FINISH, payload, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user