fixed R3.13 for Linux's new socklen_t
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
//
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.7.8.1 2001/03/06 00:10:29 jhill
|
||||
// fixed R3.13 for Linux's new socklen_t
|
||||
//
|
||||
// Revision 1.7 1998/06/18 00:11:09 jhill
|
||||
// use ipAddrToA
|
||||
//
|
||||
@@ -210,7 +213,7 @@ casStreamOS *casIntfIO::newStreamClient(caServerI &cas) const
|
||||
{
|
||||
struct sockaddr newAddr;
|
||||
SOCKET newSock;
|
||||
int length;
|
||||
osiSockLen_t length;
|
||||
casStreamOS *pOS;
|
||||
|
||||
length = sizeof(newAddr);
|
||||
|
||||
@@ -153,7 +153,7 @@ int req_server(void)
|
||||
|
||||
while (TRUE) {
|
||||
struct sockaddr sockAddr;
|
||||
int addLen = sizeof(sockAddr);
|
||||
osiSocklen_t addLen = sizeof(sockAddr);
|
||||
|
||||
if ((i = accept(IOC_sock, &sockAddr, &addLen)) == ERROR) {
|
||||
logMsg("CAS: Client accept error was \"%s\"\n",
|
||||
|
||||
Reference in New Issue
Block a user