function find_bad_fds

[edit]
static int find_bad_fds(fd_set *dst, fd_set *src, int max)