socklen_t.

This commit is contained in:
Ralf Corsepius
2005-05-10 09:04:52 +00:00
parent 1cc2509df6
commit 795a9c01be

View File

@@ -354,7 +354,7 @@ static void socketAccept(socket_t *sp)
} overlay;
struct sockaddr_in *addr;
socket_t *nsp;
int len;
socklen_t len;
char *pString;
int newSock, nid;
@@ -415,7 +415,8 @@ int socketGetInput(int sid, char *buf, int toRead, int *errCode)
{
struct sockaddr_in server;
socket_t *sp;
int len, bytesRead;
socklen_t len;
int bytesRead;
a_assert(buf);
a_assert(errCode);