未验证 提交 a609f003 编写于 作者: B buckwheat 提交者: Gitee

Signed-off-by:yangjia <yangjia41@huawei.com>

上级 cfa91653
......@@ -207,7 +207,7 @@ int DistributedAgent::DoCmdServer(int serverSockFd)
auto pclinereturn = reinterpret_cast<DistributedMsg *>(returnValue);
pclinereturn->no = pcline->no;
pclinereturn->cmdTestType = htons(DST_COMMAND_CALL);
sprintf_s(pclinereturn->alignmentCmd, (MAX_BUFF_LEN - DST_COMMAND_HEAD_LEN),"%d",nresult);
sprintf_s(pclinereturn->alignmentCmd, (MAX_BUFF_LEN - DST_COMMAND_HEAD_LEN), "%d", nresult);
rlen = strlen(pclinereturn->alignmentCmd) + 1;
pclinereturn->len = htons(rlen);
HiLog::Info(DistributedAgent::LABEL, "agent get message :%s .\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册