diff --git a/src/plugins/http/src/httpSession.c b/src/plugins/http/src/httpSession.c index 3e43fb87f9f15e234fa74d3fc7ef004b83e9ccfd..c1e33706d5d53df112408e73867dde2cede3642b 100644 --- a/src/plugins/http/src/httpSession.c +++ b/src/plugins/http/src/httpSession.c @@ -30,7 +30,7 @@ void httpCreateSession(HttpContext *pContext, void *taos) { pthread_mutex_lock(&server->serverMutex); HttpSession session; - memset(&session, 0, sizeof(HttpSession); + memset(&session, 0, sizeof(HttpSession)); session.taos = taos; session.refCount = 1; snprintf(session.id, HTTP_SESSION_ID_LEN, "%s.%s", pContext->user, pContext->pass);