From 64ae35affeb53872d269c0362643401cb2c5ee46 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 8 May 2024 09:18:36 +0800 Subject: [PATCH] fix(test): fix syntax error. --- source/dnode/mnode/impl/test/stream/stream.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/dnode/mnode/impl/test/stream/stream.cpp b/source/dnode/mnode/impl/test/stream/stream.cpp index ae00f47ab7..8480f204d6 100644 --- a/source/dnode/mnode/impl/test/stream/stream.cpp +++ b/source/dnode/mnode/impl/test/stream/stream.cpp @@ -92,7 +92,11 @@ SRpcMsg buildHbReq() { } tEncoderClear(&encoder); - initRpcMsg(&msg1, TDMT_MND_STREAM_HEARTBEAT, buf, tlen); + { + msg1.msgType = TDMT_MND_STREAM_HEARTBEAT; + msg1.pCont = buf; + msg1.contLen = tlen; + } taosArrayDestroy(msg.pTaskStatus); return msg1;