This commit is contained in:
Shengliang Guan 2020-09-28 07:26:39 +00:00
parent e32e507e1f
commit 3b724adeb3
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ HttpContext *httpCreateContext(int32_t fd) {
HttpContext *httpGetContext(void *ptr) {
uint64_t handleVal = (uint64_t)ptr;
HttpContext **ppContext = taosCacheAcquireByKey(tsHttpServer.contextCache, &handleVal, sizeof(HttpContext *));
HttpContext **ppContext = taosCacheAcquireByKey(tsHttpServer.contextCache, &handleVal, sizeof(uint64_t));
if (ppContext) {
HttpContext *pContext = *ppContext;