From a5c19ac86f2b15c5c5a73674295472511896cd6e Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期一, 17 十月 2022 23:04:14 +0800 Subject: [PATCH] fix KNet --- Src/KLink.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Src/KLink.c b/Src/KLink.c index afdc34f..da4fd03 100644 --- a/Src/KLink.c +++ b/Src/KLink.c @@ -44,7 +44,7 @@ p1->nRplyCMD=nCmd; p1->nSize1=DataLen; memcpy(p1->Datas,pData,DataLen); - p1->Datas[DataLen]=BCC(p1,sizeof(stKLRplyPktHdr)+DataLen-1); + p1->Datas[DataLen]=KLBCC(p1,sizeof(stKLRplyPktHdr)+DataLen-1); PacketLenth=sizeof(stKLRplyPktHdr)+DataLen; -- Gitblit v1.9.1