silence compiler warnings

This commit is contained in:
marschap
2006-04-13 21:22:33 +00:00
parent 657c2c88ba
commit df38a63770
16 changed files with 52 additions and 59 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ sock_poll_clients ()
/* Connection request on original socket. */
Client* c;
int new_sock;
size_t size = sizeof(clientname);
socklen_t size = sizeof(clientname);
new_sock = accept (listening_fd, (struct sockaddr *) &clientname, &size);
#ifdef WINSOCK2
if (new_sock == INVALID_SOCKET)