From 5ca52595aedba3a85f9d94d93803750a941857f4 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Wed, 21 Dec 2022 12:20:26 +0800 Subject: [PATCH] feat(rpc): move the check msgType to client build error --- source/client/src/clientImpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/clientImpl.c b/source/client/src/clientImpl.c index 1e22498b50..0bf91c6db8 100644 --- a/source/client/src/clientImpl.c +++ b/source/client/src/clientImpl.c @@ -1424,7 +1424,7 @@ void processMsgFromServer(void* parent, SRpcMsg* pMsg, SEpSet* pEpSet) { memcpy((void*)tEpSet, (void*)pEpSet, sizeof(SEpSet)); } - switch (pMsg->msg.msgType) { + switch (pMsg->msgType) { case TDMT_VND_BATCH_META: case TDMT_VND_SUBMIT: case TDMT_SCH_QUERY: -- GitLab