--- innwebd/base_passive.cpp 2004/07/04 06:45:23 1.4 +++ 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)); @@ -152,7 +152,7 @@ int base_passive::work() p->isConnected = true; // strcpy(p->w_conn_str,this->w_conn_str); - if (this->>get_priv(p)!=0) + if (this->get_priv(p)!=0) { p->s_send("502 Load access file failed.\r\n"); @@ -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; }