mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-01 13:20:36 +00:00
Test for overflowing platform FD_SET size.
This commit is contained in:
1 parent
60176c7bf4
commit
f6d6956261
5 files changed
+41
-69
No files matched your search
@@ -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