提交 bc5e709d 编写于 作者: L liuyao

set task status of ins_stream_tasks

上级 863da2ae
...@@ -1317,8 +1317,8 @@ static int32_t mndRetrieveStreamTask(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock ...@@ -1317,8 +1317,8 @@ static int32_t mndRetrieveStreamTask(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock
memcpy(varDataVal(status), "stop", 4); memcpy(varDataVal(status), "stop", 4);
varDataSetLen(status, 4); varDataSetLen(status, 4);
} else if (taskStatus == TASK_STATUS__SCAN_HISTORY) { } else if (taskStatus == TASK_STATUS__SCAN_HISTORY) {
memcpy(varDataVal(status), "history", 6); memcpy(varDataVal(status), "history", 7);
varDataSetLen(status, 6); varDataSetLen(status, 7);
} else if (taskStatus == TASK_STATUS__HALT) { } else if (taskStatus == TASK_STATUS__HALT) {
memcpy(varDataVal(status), "halt", 4); memcpy(varDataVal(status), "halt", 4);
varDataSetLen(status, 4); varDataSetLen(status, 4);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册