未验证 提交 45c10cb5 编写于 作者: P plum-lihui 提交者: GitHub

Merge pull request #1185 from taosdata/beta/v1.6.5.3

fix bug, #1184    [tbase-1509]
...@@ -499,10 +499,9 @@ int mgmtKillConnection(char *qidstr, SConnObj *pConn) { ...@@ -499,10 +499,9 @@ int mgmtKillConnection(char *qidstr, SConnObj *pConn) {
uint32_t ip = inet_addr(temp); uint32_t ip = inet_addr(temp);
temp = chr + 1; temp = chr + 1;
short port = htons(atoi(temp)); uint16_t port = htons(atoi(temp));
SAcctObj *pAcct = pConn->pAcct; SAcctObj *pAcct = pConn->pAcct;
pthread_mutex_lock(&pAcct->mutex); pthread_mutex_lock(&pAcct->mutex);
pConn = pAcct->pConn; pConn = pAcct->pConn;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册