Test for overflowing platform FD_SET size.

This commit is contained in:
Simon Kelley committed 2015-07-08 22:38:13 +01:00
1 parent 60176c7bf4
commit f6d6956261
5 files changed
+41 -69

No files matched your search

+1 -4
View File
@@ -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)