1
0
Fork 0

Use int instead of socklen_t.

This commit is contained in:
curt 1999-05-29 13:03:43 +00:00
parent 9d78e32da8
commit b25252a656

View file

@ -31,7 +31,7 @@ static bool first_time = false;
int make_socket (unsigned short int* port) {
int sock;
struct sockaddr_in name;
socklen_t length;
int length;
// Create the socket.
sock = socket (PF_INET, SOCK_STREAM, 0);