use correct type for socklen
This commit is contained in:
parent
31933ebfa1
commit
30f8c389bf
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ static void
|
|||
client_connect_callback(int events, void *opaque, int fd)
|
||||
{
|
||||
struct sockaddr_in from;
|
||||
size_t socklen = sizeof(struct sockaddr_in);
|
||||
socklen_t socklen = sizeof(struct sockaddr_in);
|
||||
int newfd;
|
||||
int val;
|
||||
client_t *c;
|
||||
|
|
Loading…
Add table
Reference in a new issue