mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 21:51:36 +01:00
When you specified more than 4 servers in set::timesynch::server you could
experience weird issues such as a flood of 'Cannot accept connections: invalid argument' messages. Reported by hyper_threader (#4242).
This commit is contained in:
parent
1e3e46d4de
commit
26dc7cbb31
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@ int succesfully_sent = 0;
|
|||
|
||||
set_non_blocking(s[n], &me);
|
||||
n++;
|
||||
if (n == MAXTIMESERVERS)
|
||||
break;
|
||||
}
|
||||
numservers = n;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue