1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

Do not attempt to use ether_fd as valid fd if it is -1. Closes medley #450

This commit is contained in:
Nick Briggs 2021-09-02 10:35:10 -07:00
parent dbbb59b30b
commit c07618f55c

View File

@ -979,7 +979,7 @@ int device_after_raid() {
#ifdef MAIKO_ENABLE_ETHERNET
FD_SET(ether_fd, &LispReadFds);
if (ether_fd > 0) FD_SET(ether_fd, &LispReadFds);
#endif /* MAIKO_ENABLE_ETHERNET */
#ifdef XWINDOW