compile error

This commit is contained in:
yihaoDeng 2022-12-09 13:30:25 +08:00
parent 0b1cef9b51
commit 52045c43ab
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ static void cliReleaseUnfinishedMsg(SCliConn* conn) {
}
destroyCmsg(msg);
}
memset(conn->ctx, 0, sizeof(conn->ctx));
memset(&conn->ctx, 0, sizeof(conn->ctx));
}
bool cliMaySendCachedMsg(SCliConn* conn) {
if (!transQueueEmpty(&conn->cliMsgs)) {