fixed R3.13 for Linux's new socklen_t

This commit is contained in:
Jeff Hill
2001-03-06 00:22:53 +00:00
parent 602510cef7
commit d030dc6c79
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -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);
+1 -1
View File
@@ -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",