Formatting: No spaces after '(' or before ')'

This commit is contained in:
Erik Ekman 2020-07-24 19:02:41 +02:00
parent 15f12d0693
commit aeacfbc2c0
5 changed files with 15 additions and 14 deletions

View File

@ -1837,7 +1837,8 @@ tunnel(int tun_fd, struct dnsfd *dns_fds, int bind_fd, int max_idle_time)
is something to send */
if (last_action + max_idle_time < time(NULL)) {
for (userid = 0; userid < created_users; userid++) {
last_action = ( users[userid].last_pkt > last_action ) ? users[userid].last_pkt : last_action;
last_action = (users[userid].last_pkt > last_action) ?
users[userid].last_pkt : last_action;
}
if (last_action + max_idle_time < time(NULL)) {
fprintf(stderr, "Idling since too long, shutting down...\n");