socket data type

This commit is contained in:
Jeff Tao 2020-10-22 10:19:01 +00:00
parent be142916e6
commit 0057a138ee
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ static void taosStopTcpThread(SThreadObj* pThreadObj) {
// save thread and pollFd into local variable since pThreadObj will be freed when thread exits
pthread_t thread = pThreadObj->thread;
int pollFd = pThreadObj->pollFd;
SOCKET pollFd = pThreadObj->pollFd;
if (taosComparePthread(pThreadObj->thread, pthread_self())) {
pthread_detach(pthread_self());