提交 ad979353 编写于 作者: L lihui

[NONE]

上级 f73aaccb
...@@ -151,7 +151,9 @@ char *taosBuildReqHeader(void *param, char type, char *msg) { ...@@ -151,7 +151,9 @@ char *taosBuildReqHeader(void *param, char type, char *msg) {
} }
pHeader = (STaosHeader *)(msg + sizeof(SMsgNode)); pHeader = (STaosHeader *)(msg + sizeof(SMsgNode));
memset(pHeader, 0, sizeof(STaosHeader));
pHeader->version = 1; pHeader->version = 1;
pHeader->comp = 0;
pHeader->msgType = type; pHeader->msgType = type;
pHeader->spi = 0; pHeader->spi = 0;
pHeader->tcp = 0; pHeader->tcp = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册