Skip to content
Permalink
Browse files

Fix size of value passed to setsockopt

  • Loading branch information...
pfmooney committed Feb 21, 2016
1 parent 2ce4cef commit d723b45fc42e04b9179ba29c65efc9484ec2924c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server.c
@@ -209,7 +209,7 @@ void Server_runLoop(struct pollfd* pollfds)

void Server_setupTCPSockets(struct sockaddr_storage* addresses[2], struct pollfd* pollfds)
{
uint8_t yes = 1;
int yes = 1;
int sockets[2];

if (hasv4) {

0 comments on commit d723b45

Please sign in to comment.
You can’t perform that action at this time.