initialize match to zero on connect
This commit is contained in:
@ -422,6 +422,7 @@ void sock_accept(int n)
|
||||
fdv[num_fds].device = fdv[n].device;
|
||||
fdv[num_fds].line_len = 0;
|
||||
fdv[num_fds].state = 0;
|
||||
fdv[num_fds].match = 0;
|
||||
fds[num_fds].fd = sock_n;
|
||||
fds[num_fds].events = POLLIN;
|
||||
++num_fds;
|
||||
|
Reference in New Issue
Block a user