fix bug, #1184 [tbase-1509]
This commit is contained in:
parent
5031ac2144
commit
68a3eab0a5
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue