fixed too many accept error messages problem

This commit is contained in:
Jeff Hill
2001-04-23 17:24:46 +00:00
parent 5152152edb
commit 91707b9e92
+3 -3
View File
@@ -145,11 +145,11 @@ casIntfIO::~casIntfIO()
//
casStreamOS *casIntfIO::newStreamClient(caServerI &cas) const
{
static bool oneMsgFlag = false;
struct sockaddr newAddr;
SOCKET newSock;
osiSocklen_t length;
SOCKET newSock;
osiSocklen_t length;
casStreamOS *pOS;
bool oneMsgFlag = false;
length = ( osiSocklen_t ) sizeof(newAddr);
newSock = accept(this->sock, &newAddr, &length);