mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Test for overflowing platform FD_SET size.
This commit is contained in:
@@ -424,10 +424,7 @@ void my_syslog(int priority, const char *format, ...)
|
||||
void set_log_writer(fd_set *set, int *maxfdp)
|
||||
{
|
||||
if (entries && log_fd != -1 && connection_good)
|
||||
{
|
||||
FD_SET(log_fd, set);
|
||||
bump_maxfd(log_fd, maxfdp);
|
||||
}
|
||||
bump_maxfd(set, log_fd, maxfdp);
|
||||
}
|
||||
|
||||
void check_log_writer(fd_set *set)
|
||||
|
||||
Reference in New Issue
Block a user