mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 00:43:13 +02:00
Update OpenFiles on listener close (not very common, but..)
This commit is contained in:
@@ -436,6 +436,7 @@ void close_listener(ConfigItem_listen *listener)
|
||||
listener->ipv6 ? "IPv6" : "IPv4",
|
||||
listener->options & LISTENER_SSL ? " (SSL)" : "");
|
||||
fd_close(listener->fd);
|
||||
--OpenFiles;
|
||||
}
|
||||
|
||||
listener->options &= ~LISTENER_BOUND;
|
||||
|
||||
Reference in New Issue
Block a user