mirror of
https://github.com/yrutschle/sslh.git
synced 2025-05-30 07:09:33 +03:00
refactor pre-increment to more idiomatic post-increment (fix #282)
This commit is contained in:
parent
be4e126f3a
commit
49d4080afd
@ -185,7 +185,7 @@ void tcp_listener(struct listen_endpoint* endpoint, int num_endpoints, int activ
|
|||||||
|
|
||||||
case 0: /* In child process */
|
case 0: /* In child process */
|
||||||
/* Shoveler processes don't need to hog file descriptors */
|
/* Shoveler processes don't need to hog file descriptors */
|
||||||
for (i = 0; i < num_endpoints; ++i)
|
for (i = 0; i < num_endpoints; i++)
|
||||||
close(endpoint[i].socketfd);
|
close(endpoint[i].socketfd);
|
||||||
start_shoveler(in_socket);
|
start_shoveler(in_socket);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user