--- innwebd/base_passive.cpp 2004/07/04 08:04:08 1.5 +++ innwebd/base_passive.cpp 2004/07/04 23:35:00 1.7 @@ -144,7 +144,7 @@ int base_passive::work() break; } - this->GetParentThread()->GetThreadPool()->SetThreadStatus(GetCurrentThreadId(),tread_pool::S_WORKING); + this->GetParentThread()->GetThreadPool()->SetThreadStatus(GetCurrentThreadId(),thread_pool::S_WORKING); strcpy(p->hostaddr,inet_ntoa(sin.sin_addr)); @@ -171,7 +171,7 @@ int base_passive::work() if (this->GetThreadPool()->GetThreadCount() < MAX_CLIENT) { if (hThreadCurrent = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)base_passive::AcceptThread,(LPVOID)p,0,&ulThreadId)) -// base_passive::uThreadCount++; + { CloseHandle(hThreadCurrent); syslog << logfile::log_head << "Create accept thread ... OK" << endl; }